[Rubygems-developers] [ rubygems-Bugs-25748 ] Use of --source option seems to break default --include-dependencies option

noreply at rubyforge.org noreply at rubyforge.org
Fri May 1 12:00:11 EDT 2009


Bugs item #25748, was opened at 01/05/2009 18:00
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=25748&group_id=126

Category: `gem install` command
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Sébastien Luquet (sebastienluquet)
Assigned to: Nobody (None)
Summary: Use of --source option seems to break default  --include-dependencies option

Initial Comment:
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.2
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32]
  - INSTALLATION DIRECTORY: H:/ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: H:/ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: H:/ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mswin32-60
  - GEM PATHS:
     - H:/ruby/lib/ruby/gems/1.8
     - H:/Documents and Settings/seb/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://gems.rubyforge.org", "http://gems.rubyonrails.org", "http://gems.github.com"]
     - "gem" => "--no-rdoc --no-ri"
  - REMOTE SOURCES:
     - http://gems.rubyforge.org
     - http://gems.rubyonrails.org
     - http://gems.github.com

rcov should not be installed (dependency of jscruggs-metric_fu)

gem install jscruggs-metric_fu --source http://gems.github.com --debug

Exception `NameError' at H:/ruby/lib/ruby/site_ruby/1.8/rubygem /command_manager.rb:161 - uninitialized constant Gem::Commands::InstallCommand
Exception `Gem::LoadError' at H:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:805 - Could not find RubyGem test-unit (>= 0)

Exception `Errno::EEXIST' at H:/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - H:\Documents and Settings\seb/.gem/specs/gems.github.com%80
Exception `IOError' at H:/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:50 - closed stream
Exception `Errno::EEXIST' at H:/ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - H:/ruby/lib/ruby/gems/1.8
Exception `Gem::InstallError' at H:/ruby/lib/ruby/site_ruby/1.8/rubygem /installer.rb:255 - jscruggs-metric_fu requires rcov (> 0.8.1, runtime)
ERROR:  Error installing jscruggs-metric_fu:
        jscruggs-metric_fu requires rcov (> 0.8.1, runtime)

gem install jscruggs-metric_fu works

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=25748&group_id=126


More information about the Rubygems-developers mailing list