cykod / Webiva

Webiva Content Management System
http://www.webiva.org
GNU General Public License v2.0
179 stars 41 forks source link

Breakage with most recent version of RubyGems #8

Open woods opened 12 years ago

woods commented 12 years ago

We updated to RubyGems to 1.8.13 and got some breakage on our Webiva installations (tried on staging first of course). The following two exceptions each needed to be resolved:

uninitialized constant ActiveSupport::Dependencies::Mutex

and

undefined local variable or method `version_requirements' for #<Rails::GemDependency:0x...>

Ultimately we were able to fix them with a little googling and these two changes:

https://github.com/westarete/Webiva/commit/43947b9a3e7a2abc3bc62bacf5bacb19b19f0bd6

Confession: I didn't spend the time to fully understand what is actually going on with these two changes. But they worked for me, so I figured I'd help propagate the cargo cult :)

woods commented 12 years ago

This happened on both Mac OS (Lion) and on Linux (CentOS 5). RubyGems 1.8.6 and 1.8.13. Ruby Enterprise Edition 1.8.7 in both cases.

$ ruby --version
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2010.02
$ gem --version
1.8.13