'Could not find RubyGem bundler', even though it is…

Posted by ashleyw on Stack Overflow See other posts from Stack Overflow or by ashleyw
Published on 2010-04-10T23:43:06Z Indexed on 2010/04/11 2:03 UTC
Read the original article Hit count: 1408

Filed under:
|
|
|
|

I'm running Ruby 1.9.2preview1 (via RVM), and Bundler 0.9.18.

If I execute bundle install, it works fine until the point where I don't have the correct permissions to install a gem. However if I execute sudo bundle install, it spits out that it 'Could not find RubyGem bundler'.

How can this be, why is the behaviour changing when using sudo?

Thanks

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rubygems