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
Remove from the Array Elements That Are Repeated
Downloading Existing Paypal Payments with Rest API
How to Make 'Whenever' Gem Work on Windows
Having Trouble Installing Libxml-Ruby on Windows
Inserting an Array Using Sequel Gem in Postgresql
Reflection on Method Parameters in Ruby
How to Drop Columns Using Rails Migration
Installing Postgresql on Ubuntu for Ruby on Rails
Breaking Up Long Strings on Multiple Lines in Ruby Without Stripping Newlines
Remove Duplicate Elements from Array in Ruby
What Exactly Is Arel in Rails 3.0
How to Implement a "Callback" in Ruby
Why Won't a Longer Token in an Alternation Be Matched
How to Configure Ruby to Enter the Debugger on Ctrl-C (Sigint)
Notices for Sequence After Running Migration in Rails on Postgresql Application