Webiva icon indicating copy to clipboard operation
Webiva copied to clipboard

Breakage with most recent version of RubyGems

Open woods opened this issue 14 years ago • 1 comments

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 avatar Dec 26 '11 21:12 woods

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

woods avatar Dec 26 '11 21:12 woods