Reputation: 731
Whenever I try to do sudo /var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle install
, I run into this:
/var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle:14: uninitialized constant Bundler (NameError)
Any ideas?
This did not help:
uninitialized constant Bundler (NameError) with rails 3
I'm running Ubuntu 11.10, 64 bit if that helps any.
Upvotes: 3
Views: 1440
Reputation: 2413
I would setup a system-wide RVM installation to support separating different Ruby environments (and environments for multiple accounts) on the same system.
Bundler will help in maintaining dependencies for each environment but some gem versions may conflict. Gemsets within RVM work around that issue by segmenting each environment.
Upvotes: 1