KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have two projects on my computer: - An old Rails 2.3 app that needs rubygems 1.6 and won't run under rubygems 1.8; - A newer app that needs rubygems 1.8 and won't run under rubygems 1.6. Each project has its own rvm gemset, but I can't figure out how to give them different versions of rubygems itself: gem update --system [version] results in gem --version giving the same answer in both; rvm gemset [version] has the same result. How can I run rubygems 1.6.2 in one project and 1.8.11 in the other? To clarify, here's what I want to do : In directory A, have a .rvmrc with commands that select gemset A and rubygems 1.6.2 In directory B, have a .rvmrc with commands that select gemset B and rubygems latest Have two terminal sessions open at the same time, one in directory A and the other in directory B Type "gem --version" in directory A and see "1.6.2" Type "gem --version" in directory B and see "1.8.11"
Tags (comma-separated)
Save Edits
Cancel