If you ever wanted to test the latest rails version locally, here's the command which helps you a lot.

$ ruby /path/to/rails/railties/bin/rails new myapp --dev

With this, you use your local clone of rails/rails to develop new applications.

Written by

Hrvoje Šimić

@shimetweets