Rails 3.03 and Rails 2.38 -- can they work together? -
is there way install rails 2.3.10 app if have rails 3.0.3 installed on machine?
for example i'd start server ruby script/server instead of rails server.
thx
two main ways:
- bundler: can create gemfile , use bundler silo gems each of installations. drawback 1 you'll have use "bundle exec command" whenever want run command version of rails you're using, such spec or cucumber
- rvm: using rvm can use not different versions of ruby, separate gemsets within version of ruby. use method of time, creating gemset called "rails3" , "rails2" (or use gemset application) relevant gem versions in it. can have many gemsets want , switch between them. stick .rvmrc file in root of application, , rvm switch version of ruby , gemset automatically.
Comments
Post a Comment