[Rubygems-developers] Can't install a gem local which has a remote dependency.

Michael Neumann mneumann at ntecs.de
Sun Jan 9 10:40:45 EST 2005


I've build a gem using "gem build xxx.gem", which depends on 
"wee-0.3.1" (add_dependency('wee', '>= 0.3.1')). But if I try to install it 
via "gem install xxx.gem", the following error is raised:

> gem install nemo-0.1.0.gem
Attempting local installation of 'nemo-0.1.0.gem'
 -> Local installation can't proceed due to LoadError:
Could not find RubyGem wee (>= 0.3.1)
Attempting remote installation of 'nemo-0.1.0.gem'
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find nemo-0.1.0.gem (> 0) in the repository

Seems like rubygems is not able to handle mixed remote/local installations?



More information about the Rubygems-developers mailing list