How do I deactivate a specific version of gem?

Posted by JayX on Stack Overflow See other posts from Stack Overflow or by JayX
Published on 2010-12-26T21:45:12Z Indexed on 2010/12/26 21:53 UTC
Read the original article Hit count: 226

Filed under:

Currently I have two versions of rack installed on my computer 1.0.1 and 1.2.1 However, when I tried to push my git to Heroku, it complains

     You have already activated rack 1.0.1, but your Gemfile requires rack 1.2.1. Consider using bundle exec. (Gem::LoadError)

How can I deactivate rack 1.0.1 and activate 1.2.1 instead? (I can't uninstall 1.0.1 since it's under system folder and I don't have the root password)

© Stack Overflow or respective owner

Related posts about ruby-on-rails