I want to switch between rails 2.3.10 as the "active" gem for my OS, so that I can invoke it at the command line.
Is it possible to do this? I'm not using rvm. Maybe it's time to start.
I tried gem install rails --version=2.3.10
, but that just makes sure that version of the gem is installed, it doesn't put it in /usr/bin/rails
.
(I do already use bundler for my apps -- but haven't needed any precise control over gems at the OS level until now)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…