You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed rubygems 2.0 with these instructions. I then tried to install vagrant and got the following output:
~> gem install vagrant
Building native extensions. This could take a while...
ERROR: Error installing vagrant:
ERROR: Failed to build gem native extension.
/home/david/.rvm/rubies/ruby-2.0.0-rc1/bin/ruby extconf.rb
/home/david/.rvm/gems/ruby-2.0.0-rc1/gems/json-1.5.4/Gemfile:5:in `load': undefined method `gemspec' for #<Gem::RequestSet::GemDepedencyAPI:0x00000002909870> (NoMethodError)
from /home/david/.rvm/rubies/ruby-2.0.0-rc1/lib/ruby/site_ruby/2.0.0/rubygems/request_set.rb:155:in `instance_eval'
from /home/david/.rvm/rubies/ruby-2.0.0-rc1/lib/ruby/site_ruby/2.0.0/rubygems/request_set.rb:155:in `load'
from /home/david/.rvm/rubies/ruby-2.0.0-rc1/lib/ruby/site_ruby/2.0.0/rubygems/request_set.rb:54:in `load_gemdeps'
from /home/david/.rvm/rubies/ruby-2.0.0-rc1/lib/ruby/site_ruby/2.0.0/rubygems.rb:232:in `detect_gemdeps'
from /home/david/.rvm/rubies/ruby-2.0.0-rc1/lib/ruby/site_ruby/2.0.0/rubygems.rb:1110:in `<top (required)>'
from <internal:gem_prelude>:1:in `require'
from <internal:gem_prelude>:1:in `<compiled>'
Gem files will remain installed in /home/david/.rvm/gems/ruby-2.0.0-rc1/gems/json-1.5.4 for inspection.
Results logged to /home/david/.rvm/gems/ruby-2.0.0-rc1/gems/json-1.5.4/ext/json/ext/parser/gem_make.out
The text was updated successfully, but these errors were encountered:
Hm, yep. While installing json, it picked up the Gemfile that is packaged INSIDE the json gem (something I consider very odd). That Gemfile is using features that only bundler supports, thus the error.
I guess we need automatically disable autoloading Gemdep files when building extensions.
I installed rubygems 2.0 with these instructions. I then tried to install vagrant and got the following output:
The text was updated successfully, but these errors were encountered: