mongskie@mongskie-os:~$ gem /usr/bin/gem:4: undefined method `manage_gems'' for Gem:Module (NoMethodError) mongskie@mongskie-os:~$ rails /usr/lib/ruby/1.8/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'' from /usr/lib/ruby/1.8/active_support.rb:56 from /usr/share/rails-ruby1.8/railties/bin/../lib/rails_generator.rb: 28:in `require'' from /usr/share/rails-ruby1.8/railties/bin/../lib/rails_generator.rb: 28 from /usr/share/rails-ruby1.8/railties/bin/rails:14:in `require'' from /usr/share/rails-ruby1.8/railties/bin/rails:14 I always get these messages. Why is this. Pls help me. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rafal Zdziech
2011-Jul-04 14:02 UTC
Re: ruby and rails wont work even they''re already installed
I can only advise you to use rvm (type this in Google ) and update your Ruby and rails to newest version. On 4 Jul 2011 12:39, "Mongskie" <ricardo.emong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> mongskie@mongskie-os:~$ gem > /usr/bin/gem:4: undefined method `manage_gems'' for Gem:Module > (NoMethodError) > > > mongskie@mongskie-os:~$ rails > /usr/lib/ruby/1.8/active_support/dependencies.rb:55: uninitialized > constant ActiveSupport::Dependencies::Mutex (NameError) > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require'' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in > `require'' > from /usr/lib/ruby/1.8/active_support.rb:56 > from /usr/share/rails-ruby1.8/railties/bin/../lib/rails_generator.rb: > 28:in `require'' > from /usr/share/rails-ruby1.8/railties/bin/../lib/rails_generator.rb: > 28 > from /usr/share/rails-ruby1.8/railties/bin/rails:14:in `require'' > from /usr/share/rails-ruby1.8/railties/bin/rails:14 > > I always get these messages. Why is this. Pls help me. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email torubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org> For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.>-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Paulo Muggler Moreira
2011-Jul-04 14:27 UTC
Re: ruby and rails wont work even they''re already installed
If you can''t update Rails or downgrade RubyGems, you need to require ''thread'' before boot.rb runs, in three files: Rakefile, script/server, and config/environment.rb. It seems older versions of Rails relied on a require from RubyGems, giving us that delightful error message upon updating RubyGems to a newer version, which does not require thread.rb by default. More info: http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror []s, Paulo On Mon, Jul 4, 2011 at 06:52, Mongskie <ricardo.emong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> mongskie@mongskie-os:~$ gem > /usr/bin/gem:4: undefined method `manage_gems'' for Gem:Module > (NoMethodError) > > > mongskie@mongskie-os:~$ rails > /usr/lib/ruby/1.8/active_support/dependencies.rb:55: uninitialized > constant ActiveSupport::Dependencies::Mutex (NameError) > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require'' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in > `require'' > from /usr/lib/ruby/1.8/active_support.rb:56 > from > /usr/share/rails-ruby1.8/railties/bin/../lib/rails_generator.rb: > 28:in `require'' > from > /usr/share/rails-ruby1.8/railties/bin/../lib/rails_generator.rb: > 28 > from /usr/share/rails-ruby1.8/railties/bin/rails:14:in `require'' > from /usr/share/rails-ruby1.8/railties/bin/rails:14 > > I always get these messages. Why is this. Pls help me. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.