Head First Ruby on Rails with MacOS
install
brew install node
brew install npm
npm install --global yarn
brew install sqlite3
brew install ruby
export PATH="/usr/local/opt/ruby/bin:$PATH"
gem install rails
confirm version
ruby --version
sqlite3 --version
node --version
yarn --version
bundle exec rails --version
create new site and run
bundle exec rails new blog
cd blog
bundle exec rails server