I always begin new rails projects by first creating the project directory
$ mkdir foo
$ cd foo/
$foo/
Once in the directory I make a .ruby-version and .ruby-gemset file
$foo/ touch .ruby-version .ruby-gemset
In the ruby-version file you just specify the version of ruby you wish to
use
2.2.
On Sunday, April 19, 2015 at 2:06:08 AM UTC+1, jmcguckin wrote:
>
>
> How do I run a "rails new foo" with the correct ruby version and gemset?
>
>
> Is there some sort of cmd line argument I can use?
>
rails _4.1.10_ new
Should invoke that version of the rails executable (this is a rubyge
2 matches
Mail list logo