[Rubygems-developers] gemwhich and version problems

Jim Freeze rubygems at freeze.org
Sun Jan 7 20:12:16 EST 2007


% gem list rails

*** LOCAL GEMS ***

rails (1.1.6.5848, 1.1.6)
     Web-application framework with template engine, control-flow layer,
     and ORM.
% gemwhich rails
Can't find rails

BTW, I get this for every gem installed application.


% rails _1.1.6.5848_ -v
/opt/local/ruby-1.8.4/lib/ruby/site_ruby/1.8/rubygems.rb:251:in  
`report_activate_error': RubyGem version error: rails(1.0.0 not =  
1.1.6.5848) (Gem::LoadError)
         from /opt/local/ruby-1.8.4/lib/ruby/site_ruby/1.8/ 
rubygems.rb:188:in `activate'
         from /opt/local/ruby-1.8.4/lib/ruby/site_ruby/1.8/ 
rubygems.rb:66:in `active_gem_with_options'
         from /opt/local/ruby-1.8.4/lib/ruby/site_ruby/1.8/ 
rubygems.rb:59:in `require_gem'
         from /opt/local/ruby-1.8.4/bin/rails:17
% rails _1.1.6_ -v
Rails 1.1.6

% gem -v
0.9.0

I thought rubygems was supposed to be able to handle any number of  
segments in a version.



Jim Freeze



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rubygems-developers/attachments/20070107/a4ef7d2e/attachment.html 


More information about the Rubygems-developers mailing list