- Install homebrew.
brew install rbenv ruby-buildecho 'eval "$(rbenv init -)"' >> $HOME/.bash_profilerbenv install 2.2.0rbenv global 2.2.0rbenv rehashgem install bundler rails
That should do it. You should have a working Ruby 2.2 with latest bundler and rails gems installed.
rails new my-new-app
cd my-new-app
rails server
Congratulations! You have a new, empty app using SQLite.