2011/11/20 Colin Law <[email protected]>: > On 20 November 2011 11:27, amvis <[email protected]> wrote: >> Thanks for the reply >> colin, a simple thing. Now am using rails version is 3.1.1 . i had setup the >> ruby on rails on my system with >> RVM( http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/.) so we have >> an application which created with rails older version 2.3.6. my question is >> now how to run this older application on my new setup. can u/anyone >> specify how to rectify this? > > Have a look in the rvm documentation about gemsets. Using a gemset > you can install rails 2.3.6 and whatever versions of other gems that > application needs, then the app should run happily.
Also <https://rvm.beginrescueend.com/workflow/rvmrc/#project> could be a good starting point to handle multiple projects having different gemsets. I have an isolated gemset for every single project. At start of a project I create the project dir and run `rvm use <rubyversion>@<projectname> --create --rvmrc` go one dir level upwards do again `rvm use <rubyversion>@<projectname>` then `rails new <projectname>` I have to say, that rails 3.1 is in my default gemset, also is bundler. If I have to use another version of rails I do `gem uninstall rails` first in the corresponding gemset and then `gem install rails <version>`. Since I handle my gems with bundler in rails 2.x all other steps are the same. Bye Norbert -- 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.

