Ruby upgrade: don’t install on top of a previous release
- even if the release notes say you can :)
I was upgrading from 1.8.2 to 1.8.4 and using the one-click installer for Windows. Before the install, I read the release note which said the following:
“You can install overtop of an existing installation that has
the same Ruby major version number (e.g., 1.6). Installations
up to and including 1.6.5-1 can only be uninstalled. All versions
can co-exist peacefully (DLL’s willing) in separate directories.”
Everything was fine until I tried integrating a payment module which integrates with Authorize.net into a small app. I kept getting an error realted to the net library:
NoMethodError: You have a nil object when you didn’t expect it!
The error occured while evaluating nil.verify_mode
After some serious searching it turns out the over-install doesn’t preserver all the library location, or better said introduces some conflicts. After reinstalling and reinstalling Rails, I’m good to go.
Post a Comment