On Fri, Dec 2, 2011 at 8:51 PM, Phil Dobbin <[email protected]> wrote: > Hi, all. > > This is probably a very simple question but I couldn't find anything in the > docs, Google, etc. > > If I issue: > > `$ rails new foo-bar` > > The version of Rails being used is 3.1.3. Now I need to use v.2.3.5 for a > project but can't for the life of me work out how to do so (2.3.5 is > installed). > > Sorry it's so (probably) blatantly obvious a question but any help > appreciated.
Hi Phil, Are you using RVM? If so, I would recommend you to create a new gemset, install rails -v 2.3.5 there, and then you'll have no conflicts. Anyways, wehter you use a different gemset, rails 2.x doesn't use the "new" command. To create a new aplication with these versions of rails, you have to do "rails appname" but, for this, you have to be sure you're using the right command and that, can be done with the full path to the rails script. Hope this help. Cheers! -- Leonardo Mateo. There's no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

