Can't Install Gems Because "Undefined Method 'Invoke_With_Build_Args' for Nil:Nilclass"

What can I do to resolve this error when trying to install bundler?

it's a known issue - rubygems 2.0.0 requires openssl, run this:

rvm get head
rvm reinstall 2.0.0 --autolibs=3

rvm + rails install ERROR: While executing gem (NoMethodError)undefined method `ord' for nil:NilClass

I am answering and accepting this question because someone may get help from this.

After investigating few days ( googling, creating new issue in rvm) I have found that it is a Ruby bug was fixed here

I had to upgrade ruby version to 2.1.7 to solve this issue.

You can get details from rvm issue tracker.

Why does 'gem install bundler' throw NoMethodError undefined method `size' for nil:NilClass ?

I Tried my self and figured out the problem behind this error is I haven't configured my Environment variable path C:\jruby-1.7.4\bin for jruby.

It is working fine for me now. Thanks to all for their efforts.

NoMethodError: undefined method `spec' for nil:NilClass - active_utils, factory_girl and more gems failing

So, turns out this was caused because of a recent upgrade to RubyGems. Forcing a previous version worked.

gem update --system 2.4.8


Related Topics



Leave a reply



Submit