'Could not find RubyGem bundler', even though it is…
- by ashleyw
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