Created
April 23, 2013 21:22
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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