Hey vagrant folks,
So I try to install a vagrant plugin using the system vagrant on Ubuntu 12.04, but I the plugin command isn't there. After some googling (which I've since forgotten about) I become convinced that I should install vagrant from source. So I pull the repo and try to build it, but I get the following error message:
$ bundle install
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
vagrant (>= 0) ruby depends on
bundler (< 1.8.0, >= 1.5.2) ruby
Current Bundler version:
bundler (1.10.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (< 1.8.0, >= 1.5.2) ruby', which is required by gem 'vagrant (>= 0) ruby', in any of
the sources.
I know next to nothing about ruby, but I try installing a version of bundler that seems like it should work, and then activating it (I think?):
$ gem install bundler -v 1.7.15
$ bundler _1.7.15_
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2100:in `check_version_conflict': can't activate bundler-1.7.15, already activated bundler-1.10.4 (Gem::LoadError)
from /home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:1276:in `activate'
from /home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:67:in `block in gem'
from /home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in `synchronize'
from /home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:66:in `gem'
from /home/user/.rvm/gems/ruby-2.2.1@vagrant/bin/bundler:22:in `<main>'
from /home/user/.rvm/gems/ruby-2.2.1@vagrant/bin/ruby_executable_hooks:15:in `eval'
from /home/user/.rvm/gems/ruby-2.2.1@vagrant/bin/ruby_executable_hooks:15:in `<main>'
Any thoughts? Thanks!
Cheers,
Itamar