On 7 November 2011 09:28, Tommy Pollak wrote:
Sorry, but I can not remember how I installed rubygems. I certainly
tried with the Ubuntu (10.10) packages first.

$ apt-cache policy rubygems
rubygems:
Installed: 1.7.2-1
Candidate: 1.7.2-1
So you installed it from the Ubuntu repository. When you upgraded
ubuntu it probably upgraded rubygems to one that is not compatible
with your version of Rails, as documented in the link I posted.
http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror
You could uninstall rubygems and then re-install an appropriate
version manually. I don't know whether you would have to re-install
ruby in rvm. Alternatively I believe that if you change to ruby 1.9
then it includes rubygems. Or you can just stick with what you have
done if it is working for you.

Colin
Version table:
*** 1.7.2-1 0
500 http://se.archive.ubuntu.com/ubuntu/ oneiric/universe i386
Packages
100 /var/lib/dpkg/status

On 6 Nov, 22:36, Colin Law wrote:
On 6 November 2011 21:20, Tommy Pollak wrote:

Thanks!
Adding the line "require 'thread'" before "require 'commands/server'"
fixed the problem.
Though I still do not understand why this is necessary with 11.10 but
not 11.04.
How did you install rubygems?  What do you see if you do
apt-cache policy rubygems

Colin


--
gplus.to/clanlaw

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 7 of 8 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedNov 5, '11 at 8:23p
activeNov 12, '11 at 2:23p
posts8
users3
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase