- Install rbenv and rbenv/ruby-build. Follow instructions to properly set it up (or use rvm if that's what you prefer).
- Install Ruby 2.4.0:
rbenv install 2.4.0
- Install bundler:
gem install bundler
- Install dependencies:
bundle install
To run the server:
bundle exec rails server
Now open localhost:3000 in your browser.