@boblet

lest I forget (Oli Studholme)

RadiantCMS, rack-1.1.0 & rails-2.3.5

I recently came across the incompatibility between the rails-2.3.5 and rack-1.1.0 gems by getting this error:

can't activate rack (~> 1.0.0, runtime) for [], already activated rack-1.1.0 for []

The suggested workaround is to uninstall rack-1.1.0 and use an earlier version (1.0.0, 1.0.1), but uninstalling got me this un-Googleable error:


$ sudo gem uninstall -i /opt/local/lib/ruby/gems/1.8 rack

Select gem to uninstall:
1. rack-1.0.0
2. rack-1.1.0
3. All versions
> 2
ERROR: While executing gem ... (NameError)
undefined local variable or method `spec_installation_path' for #<Gem::Uninstaller:0x82005f0>

I still don’t know what’s going on with the uninstall, but two other ways to get around this (at least until the gems are updated) are to manually edit rack version requirements in actionpack-2.3.5.gemspec, or in action_controller.rb in Radiant’s vendor folder. The latter worked for me. HTH

Notes

  1. bluray3d reblogged this from boblet
  2. -download-children-s-audio-books reblogged this from boblet
  3. misha-hessee reblogged this from boblet
  4. boblet posted this