From: Eric Hodel Date: 2007-11-21T08:48:16+09:00 Subject: Re: RubyGems 0.9.5 On Nov 20, 2007, at 07:14 , Chauk-Mean P. wrote: > Chauk-Mean P. wrote: >> Chauk-Mean P. wrote: >>> Eric Hodel wrote: >>>> RubyGems 0.9.5 adds several new features and fixes several bugs. >>> >>> RubyGems 0.9.5 looks great but I cannot installed the ruby-debug-ide >>> gem. >>> >>> I just create an issue on the RubyForge tracker : >>> >>> [#15759] rubygems 0.9.5 cannot install ruby-debug-ide >> >> I tried forcing a local installation of ruby-debug-ide-0.1.9.gem and >> this works : >> gem install -l ruby-debug-ide >> >> It's a bit strange as I have been able to install ruby-debug-base >> (ruby-debug-base-0.9.3-mswin32.gem) without the local flag (-l). > > I think that I have understood what's happening : > - rubygems 0.9.5 includes dependencies during installation by default > now > - when I first install ruby-debug-base locally (without -l), it > works as > this gem has no dependency on other gems > - then when I tried to install ruby-debug-ide locally (again without > -l), it fails as it seems that rubygems tries to install the required > dependency (ruby-debug-base) remotely and not locally. > > Forcing the local installation with -l solves my problem. > > This raises two issues : > 1- rubygems seems to not take care of gems that are already installed > (during the dependency checking) It does for me: $ gem fetch ruby-debug-base missing 9371 gems Bulk updating Gem source index for: http://gems.rubyforge.org Downloaded ruby-debug-base-0.9.3.gem [ 15:15 drbrain@kaa:~/tmp ] $ gem install -l ruby-debug-base -i gems Installing gem ruby-debug-base-0.9.3 Using local gem /Users/drbrain/tmp/gems/cache/ruby-debug-base-0.9.3.gem Building native extensions. This could take a while... Successfully installed ruby-debug-base-0.9.3 1 gem installed Installing ri documentation for ruby-debug-base-0.9.3... Installing RDoc documentation for ruby-debug-base-0.9.3... [ 15:16 drbrain@kaa:~/tmp ] $ gem install ruby-debug-ide -i gems Installing gem ruby-debug-ide-0.1.9 Downloading gem ruby-debug-ide-0.1.9.gem Successfully installed ruby-debug-ide-0.1.9 1 gem installed If you can reproduce your issue, please file a bug. > 2- rubygems should try to install dependency gems locally before > remotely. Yes, I think this is the core of #15759, so I updated the title. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars