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:
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With