Skip to content

Instantly share code, notes, and snippets.

@johnkferguson
Created April 23, 2013 21:22
Show Gist options
  • Save johnkferguson/5447506 to your computer and use it in GitHub Desktop.
Save johnkferguson/5447506 to your computer and use it in GitHub Desktop.
Terminal commands to create a new Rails app and create an application specific rvm gemset for it.
$ mkdir myRails4app
$ cd myRails4app
$ rvm use ruby-2.0.0@myRails4app --ruby-version --create
$ gem install rails --pre
$ rails new .
To skip test-unit on creation and set postgres as the databse, enter the following:
$ rails new . -T --database=postgresql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment