Large migration of RoR project from Ruby 1.8.6 solution to 1.8.7+
After upgrading to Snow Leopard, Ruby 1.8.7 (pre-installed with the OS) gets a lot closer to me. I am trying to use the port, but I have no luck with this solution. (port ryby186 stops something, throws an exception). So I'm starting to think about upgrading a lot of code to 1.8.7 requirements. Please help me with some scripts, articles, etc., whose help in analyzing the code.
I am already trying to read the release notes http://redmine.ruby-lang.org/projects/activity/ruby-18?from=2008-12-07 but without any positive results.
Thanks for answers!
source to share
As AB suggested, your question is difficult to answer specifically. If you are dealing with switching from 1.8.6 to 1.8.7, you need to have both installed on your computer. You can look at a tool for managing multiple Ruby versions like rvm . It's packed like a gem, so install it:
sudo gem install rvm
Then, to get Ruby 1.8.6 back, run:
rvm install ruby186
With rvm, you can also customize a set of gems to make it easy to update your settings on different versions of Ruby that you install.
source to share