Question

I am attempting to install Radiant on DreamHost, and when I get to the point where I do this:

radiant mysitename

It starts to install, then I get this error

/vendor/rails/activesupport/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)

Now one thing I think it might be is that DreamHost has me using Rails 3, is that the case? If so, how can I run an older version? I am stumped - thanks.

Setup:

  • ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
  • Rails 3.0.7
  • Gem 1.8.2
  • Radiant 0.9.1
Was it helpful?

Solution

This error is caused by the combination of RubyGems > 1.6.0 and Rails < 2.3.11 You could fix this by downgrading to rubygems version 1.5.3

gem update --system 1.5.3

OTHER TIPS

The answer is the soon to be released Radiant 1.0

Essentially: a recent version of Rubygems introduced a change that changed some things Rails depended on. This was fixed in a point release of Rails (say 2.3.9), but Radiant 0.9 was based on a version of Rails before that.

There are ways to patch your Rails/Radiant apps to get it see my pull request on Github for this... which sometimes works (I've found issues with it over the last few days.

However I know that the Radiant core team wants to release a new version of Radiant today (May 18) or the next day. This will upgrade to the latest Rails 2.3 release, which solves the problem

If you go to step 7 under Install RubyGems in this wiki it shows how to install an older version of Rails. Earlier in that section it also mentions checking for a different version number for Gem than the one you have listed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top