Closed edgewyn closed 11 years ago
What version of vagrant are you running?
EDIT: 1.0.6
I had the same issue and updating vagrant fixed it. We're using some stuff that was implemented in the 1.1.x release of vagrant
Yep, 1.0.6. I updated, but only to 1.0.7 - it doesn't look like rubygems is hosting anything on the 1.1.x series. I can't use the Vagrant-provided install file because I use rbenv to manage ruby/gems and the Vagrant-provided file installs to a nonstandard location.
Is there any chance we could avoid using the 1.1.x stuff, at least until rubygems hosts the 1.1.x release?
It turns out there isn't going to be a 1.1.x release of rubygems, so I just uninstalled the rbenv gem, rm'ed ~/bin/vagrant, and installed the binary version from vagrantup.com.
I'm getting this error on the current develop branch (19d92600213bf2d690c69d93b3c17ff7dfda3f99). Vagrant is installed properly and works on vagrantfiles from other projects.
➜ vagrant git:(develop) vagrant up /home/user/projects/batter/vagrant/Vagrantfile:4:in'
<top (required)>': undefined method
configure' for Vagrant:Module (NoMethodError) from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config/loader.rb:115:inload' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config/loader.rb:115:in
block in procs_for_source' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config.rb:41:inblock in capture_configures' from <internal:prelude>:10:in
synchronize' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config.rb:36:incapture_configures' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config/loader.rb:114:in
procs_for_source' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config/loader.rb:51:inblock in set' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config/loader.rb:45:in
each' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/config/loader.rb:45:inset' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/environment.rb:377:in
block in load_config!' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/environment.rb:392:incall' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/environment.rb:392:in
load_config!' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/lib/vagrant/environment.rb:327:inload!' from /home/user/.rbenv/versions/1.9.3-p385/lib/ruby/gems/1.9.1/gems/vagrant-1.0.6/bin/vagrant:40:in
<top (required)>' from /home/user/.rbenv/versions/1.9.3-p385/bin/vagrant:23:inload' from /home/user/.rbenv/versions/1.9.3-p385/bin/vagrant:23:in