rake issues with latest ree-1.8.7-2012.02 and ruby 1.9.3-p125

29 views
Skip to first unread message

Rob Landrito

unread,
Feb 27, 2012, 1:23:20 PM2/27/12
to gito...@googlegroups.com
Greetings,

I was updating gitorious to v2.1.1 and related programs on my system
and ran into a few error messages.

The last upgrade to ruby enterprise edition to 1.8.7-2012.02 I started
running into the following message when trying to run rake:
You have already activated rake 0.9.2.2, but your Gemfile requires
rake 0.8.7. Using bundle exec may solve this.

From the error message itself and from the web, 'bundle exec rake'
seems to be work. Should we start using this instead of simple rake
commands ?

==

Even after using bundle exec rake, I then came up with the following error:
uninitialized constant ActiveSupport::Dependencies::Mutex
/var/www/gitorious/Rakefile:10:in `require'

Posts on the web
(http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror)
suggest adding require 'thread' to boot.rb. I did this to
config/boot.rb (despite the warning in the file) and everything seems
to work after that. Is there a "proper" way to fix this ?

==

I decided to try out ruby 1.9.3-p125 while I was at it. In addition
to the two above problems, bundle install would fail on SystemTimer.
Commenting the related line out of ./Gemfile seemed to fix it. I did
switch back to REE however, so I'm not sure if this breaks anything
during runtime.

Thanks !

--
:wq!

Reply all
Reply to author
Forward
0 new messages