rails/rails — Issue #4565: Cannot install rails: ERROR:  While executing gem ... (NoMethodError) - undefined method `call' for nil:NilClas
Author: minaguib
Created: 2012-01-20 22:35:05+00:00
State: open

This happens on a brand new clean virtual machine with just ruby-ee 1.8.7 and rubygems 1.3.7

# gem install -V rails
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK
Installing gem activemodel-3.2.0
ERROR: While executing gem ... (NoMethodError)
undefined method `call' for nil:NilClass

Installing other gems works:

# gem install rake
Successfully installed rake-0.9.2.2
1 gem installed
Installing ri documentation for rake-0.9.2.2...
Installing RDoc documentation for rake-0.9.2.2...