mitchellh/vagrant — Issue #781: Missing require 'rubygems' in vagrant/environment.rb
Author: bigon
Created: 2012-03-07 13:42:45+00:00
State: open

Hi,

I'm currently updating the debian package to 1.0.0 and vagrant is now throwing me the following backtrace:

/usr/lib/ruby/vendor_ruby/vagrant/environment.rb:507:in `load_plugins': uninitialized constant Gem (NameError)
from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:93:in `initialize'
from /usr/bin/vagrant:36:in `new'
from /usr/bin/vagrant:36

Adding "require 'rubygems'" in vagrant/environment.rb is fixing this