From: Dave Aronson Date: 2013-01-03T02:48:00+09:00 Subject: Re: Run time error with multiple version of gems installed On Wed, Jan 2, 2013 at 1:52 AM, Mallikarjuna Yaddala wrote: > I have installed two versions of rake for different projects. > > Due to this i am getting the following error > > rake aborted! > You have already activated rake 0.9.6, but your Gemfile requires rake > 0.9.2.2. Using bundle exec may solve this. Look into rvm or rbenv. These can be used to manage gemsets so you can switch between them for different projects. Also, when you start your projects (there's probably a way to retrofit but I'm too lazy, er, I mean, busy to go figure it out), do rails new your_project_name --skip-bundle, followed by bundle install --path vendor --binstubs. That will put the gems for this project in the vendor dir under the project, making a neatly self-contained unit. (The downside is possible duplication, soaking up more disk space than reusing the same copy of gems.) -Dave -- Dave Aronson, the T. Rex of Codosaurus LLC, secret-cleared freelance software developer taking contracts in or near NoVa or remote. See information at http://www.Codosaur.us/.