Ruby 1.8.5-win32 upgrade notes
It’s another of those “for my own reference” posts but here’s how I upgraded 2 win32 systems (XP Pro and Win server 2003) from Ruby 1.8.4 to 1.8.5:
assuming you are..
- using the Ruby one-click installer
- create new install at c:/ruby185
- root = c:/ruby185/lib/ruby
- old_root = c:/ruby/lib/ruby
to-do
- let the one-click installer do its thing.
- copy ~root/gems/1.8/* to ~old_root/gems/1.8/*. this will take a few minutes if you have more than a few gems.
- delete ~root/gems/1.8/source_cache.
- change the environment var PATH to c:\ruby185\bin (remove old).
- reinstall RubyGems v.91. maybe you don’t have to, but .92 and .93 cause the “not an absolute path” error on 2 systems i’ve upgraded.
- make c:/ruby185/bin look like c:/ruby/bin regarding gems, for instance, copy redcloth and redcloth.cmd. NOTE: open each copied file with ext .cmd and change the path to ruby185/bin. open redcloth to get an idea of what these are. this step is normally handled by
gem updatebut that’ll be painful if you have more than a few gems to migrate. - for mssql with Rails users, copy ~old_root/site_ruby/1.8/DBD/ADO to the same place in ~root.
- make the necessary changes in RadRails under Window | Preferences for Ruby and Rails nodes.
Posted by Luke on Friday, June 01, 2007
Comments (1)
Tom on Friday, June 01, 2007
thanks!

