- Install homebrew.
brew install rbenv ruby-build
echo 'eval "$(rbenv init -)"' >> $HOME/.bash_profile
rbenv install 2.2.0
rbenv global 2.2.0
rbenv rehash
gem 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.