[Rubygems-developers] Error with local install

Jim Weirich jim.weirich at gmail.com
Fri Sep 7 23:51:40 EDT 2007


On Sep 7, 2007, at 10:13 PM, TRANS wrote:
> Exactly the same.
>
>   $ sudo gem install --backtrace facets-2.0.0.gem
>   ERROR:  Error installing gem facets-2.0.0.gem[.gem]: undefined
> method `required_ruby_version' for nil:NilClass

My guess is that you installed a gem with the beta version of  
RubyGems, then switched back to a previous version.

To fix:  (1) Uninstall the offending gem, or (2) grep the gem/ 
specification directory for require_ruby_version and delete that line  
from the spec.

-- 
-- Jim Weirich
-- jim.weirich at gmail.com






More information about the Rubygems-developers mailing list