Kristian
2010-Jan-18 14:49 UTC
Can''t get gem bundler to work with either rvm 1.9.1 and 1.9.2
I installed the bundler, no problem - but it seems to have screwed up my gem repository in both cases!? What to do? kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor /Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/lib/ rubygems_plugin.rb:2:in `require'': no such file to load -- bundler/ commands/bundle_command (LoadError) from /Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/ lib/rubygems_plugin.rb:2:in `<top (required)>'' from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/ 1.9.1/rubygems.rb:1136:in `load'' from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/ 1.9.1/rubygems.rb:1136:in `block in <top (required)>'' from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/ 1.9.1/rubygems.rb:1134:in `each'' from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/lib/ruby/site_ruby/ 1.9.1/rubygems.rb:1134:in `<top (required)>'' from <internal:gem_prelude>:235:in `require'' from <internal:gem_prelude>:235:in `load_full_rubygems_library'' from <internal:gem_prelude>:334:in `const_missing'' from /Users/kristianconsult/.rvm/ruby-1.9.1-p376/bin/gem:15:in `<main>'' kristian-mandrups-macbook-pro:~ kristianconsult$ gem list bundler *** LOCAL GEMS *** bundler (0.8.1) kristian-mandrups-macbook-pro:~ kristianconsult$ rvm use 1.9.2 <i> Now using ruby 1.9.2 preview1 </i> kristian-mandrups-macbook-pro:~ kristianconsult$ gem list bundler *** LOCAL GEMS *** bundler (0.8.1) kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor /Users/kristianconsult/.rvm/gems/ruby/1.9.2/gems/bundler-0.8.1/lib/ rubygems_plugin.rb:2:in `require'': no such file to load -- bundler/ commands/bundle_command (LoadError) from /Users/kristianconsult/.rvm/gems/ruby/1.9.2/gems/bundler-0.8.1/ lib/rubygems_plugin.rb:2:in `<top (required)>'' from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/ site_ruby/1.9.1/rubygems.rb:1136:in `load'' from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/ site_ruby/1.9.1/rubygems.rb:1136:in `block in <top (required)>'' from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/ site_ruby/1.9.1/rubygems.rb:1134:in `each'' from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/lib/ruby/ site_ruby/1.9.1/rubygems.rb:1134:in `<top (required)>'' from <internal:gem_prelude>:252:in `require'' from <internal:gem_prelude>:252:in `load_full_rubygems_library'' from <internal:gem_prelude>:372:in `const_missing'' from /Users/kristianconsult/.rvm/ruby-1.9.2-preview1/bin/gem:15:in `<main>'' kristian-mandrups-macbook-pro:~ kristianconsult$ -- 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.
Kristian
2010-Jan-18 14:51 UTC
Re: Can''t get gem bundler to work with either rvm 1.9.1 and 1.9.2
kristian-mandrups-macbook-pro:~ kristianconsult$ gem install thor Successfully installed thor-0.12.2 1 gem installed Installing ri documentation for thor-0.12.2... ERROR: While executing gem ... (Errno::EACCES) Permission denied - /Users/kristianconsult/.ri/cache/.doc_dirs -- Actually I did manage to run "gem bundle" successfully in a new rails 3 project, but seems like gem commands operating on the gem repository itself don''t work anymore :( Any ideas? -- 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.
Conrad Taylor
2010-Jan-18 20:15 UTC
Re: Re: Can''t get gem bundler to work with either rvm 1.9.1 and 1.9.2
On Mon, Jan 18, 2010 at 6:51 AM, Kristian <kmandrup-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> kristian-mandrups-macbook-pro:~ kristianconsult$ gem install thor > Successfully installed thor-0.12.2 > 1 gem installed > Installing ri documentation for thor-0.12.2... > ERROR: While executing gem ... (Errno::EACCES) > Permission denied - /Users/kristianconsult/.ri/cache/.doc_dirs > >Kristian, I would recommend doing the following: $ rvm-install --head $ cd $ sudo chown -R <OWNER>:staff .ri $ gem install thor Note: For OWNER, use the username of the logged in user. Lastly, I would recommend finding a good resource for the Unix command-set. Good luck, -Conrad> -- > > Actually I did manage to run "gem bundle" successfully in a new rails > 3 project, but seems like gem commands operating on the gem repository > itself don''t work anymore :( > Any ideas? > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
Reasonably Related Threads
- Rails 3 Problem: no such file to load -- rails (LoadError)
- CRITICAL: Rails 3 error : parser.bundle unhandled exception!!!
- undefined method `run_all' for :Array
- Rails problems running rake and other tasks - undefined method `action_controller'
- `method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>