[Rubygems-developers] [ rubygems-Bugs-27455 ] updated rubygems is not updated

noreply at rubyforge.org noreply at rubyforge.org
Thu Nov 19 05:56:35 EST 2009


Bugs item #27455, was opened at 2009-11-19 00:36
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27455&group_id=126

Category: `gem install` command
Group: v1.3.x
Status: Closed
Resolution: Rejected
Priority: 3
Submitted By: Greg Hazel (ghazel)
Assigned to: Nobody (None)
Summary: updated rubygems is not updated

Initial Comment:
C:\Ruby\lib\ruby\site_ruby\1.8>gem -v
1.3.5

C:\Ruby\lib\ruby\site_ruby\1.8>grep -r -i "gemsver.*1\.3" *
rubygems/rubygems_version.rb:  RubyGemsVersion = '1.3.1'
rubygems.rb:  RubyGemsVersion = VERSION = '1.3.5'


I discovered this problem because:

C:\Ruby\lib\ruby\site_ruby\1.8>gem install eventmachine --source http://gemcutter.org
ERROR:  could not find gem eventmachine locally or in a repository

But:

C:\Ruby\lib\ruby\site_ruby\1.8>gem search eventmachine -r --source http://gemcutter.org

*** REMOTE GEMS ***

eventmachine (0.12.10, 0.12.0)
eventmachine-win32 (0.7.2)
eventmachine_httpserver (0.2.0)
eventmachine_snmpagent (0.0.1)
smparkes-eventmachine (0.12.10.2)


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

>Comment By: Luis Lavena (luislavena)
Date: 2009-11-19 07:56

Message:
Indeed, have to agree.

Please open a feature request and link back to this, proposing also what should have been displayed instead for this 500 error received from the remote.

Thank you.

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

Comment By: Greg Hazel (ghazel)
Date: 2009-11-19 07:49

Message:
I see. Well, rubygems should probably display a better error 
message... It's not that it can't find it, it's that the 
source is having a problem. That would have allowed me to 
report it directly to them instead of looking for a problem 
with gem.

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

Comment By: Luis Lavena (luislavena)
Date: 2009-11-19 07:28

Message:
Thank you Greg,

As you can see, the detailed information provides enough to determine the root of the issue.

Since yesterday, gems.rubyforge.org and gemcutter.org are the same.

You're receiving a 500 error when requesting the quick gem information:

http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-mswin32.gemspec.rz

Please report that issues to RubyForge support project:

http://rubyforge.org/projects/support

Or Gemcutter issue tracker:

http://github.com/qrush/gemcutter/issues

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

Comment By: Greg Hazel (ghazel)
Date: 2009-11-19 07:22

Message:
c:\gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.5
  - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mswin32-60
  - GEM PATHS:
     - C:/Ruby/lib/ruby/gems/1.8
     - C:/Users/Greg/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gemcutter_key" => "197016df35807a765954b5192aa6c6d8"
     - :sources => ["http://gemcutter.org", "http://gems.rubyforge.org/", "http://gems.github.com"]
  - REMOTE SOURCES:
     - http://gemcutter.org
     - http://gems.rubyforge.org/
     - http://gems.github.com


C:\>gem install eventmachine --debug -V
Exception `NameError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:161 - uninitialized 
constant Gem::Commands::InstallCommand
GET 200 OK: http://gemcutter.org/latest_specs.4.8.gz
Exception `Errno::EEXIST' at C:/Ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - 
C:/Users/Greg/.gem/specs/gemcutter.org%80
GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz
Exception `Errno::EEXIST' at C:/Ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - 
C:/Users/Greg/.gem/specs/gems.rubyforge.org%80
GET 200 OK: http://gems.github.com/latest_specs.4.8.gz
Exception `Errno::EEXIST' at C:/Ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - 
C:/Users/Greg/.gem/specs/gems.github.com%80
GET 500 Internal Server Error: http://gems.rubyforge.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:290 - 
bad response Internal Server Error 500 (http://gems.rubyforge.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:168 - 
bad response Internal Server Error 500 (http://gems.rubyforge.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:76 - bad 
response Internal Server Error 500 (http://gems.rubyforge.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz)
Error fetching remote data:             bad response Internal Server Error 500 
(http://gems.rubyforge.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-mswin32.gemspec.rz)
Falling back to local-only install
Exception `Gem::GemNotFoundException' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:200 - 
could not find gem eventmachine locally or in a repository
ERROR:  could not find gem eventmachine locally or in a repository


C:\>gem install eventmachine --source http://gemcutter.org --debug -V
Exception `NameError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:161 - uninitialized 
constant Gem::Commands::InstallCommand
GET 200 OK: http://gemcutter.org/latest_specs.4.8.gz
Exception `Errno::EEXIST' at C:/Ruby/lib/ruby/1.8/fileutils.rb:243 - File exists - 
C:/Users/Greg/.gem/specs/gemcutter.org%80
GET 500 Internal Server Error: http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:290 - 
bad response Internal Server Error 500 (http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:168 - 
bad response Internal Server Error 500 (http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz)
Exception `Gem::RemoteFetcher::FetchError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:76 - bad 
response Internal Server Error 500 (http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-
mswin32.gemspec.rz)
Error fetching remote data:             bad response Internal Server Error 500 
(http://gemcutter.org/quick/Marshal.4.8/eventmachine-0.12.0-i386-mswin32.gemspec.rz)
Falling back to local-only install
Exception `Gem::GemNotFoundException' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:200 - 
could not find gem eventmachine locally or in a repository
ERROR:  could not find gem eventmachine locally or in a repository



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

Comment By: Luis Lavena (luislavena)
Date: 2009-11-19 07:16

Message:
Hello,

The obsolete version file is no longer used, so what you're reporting is not accurate and has nothing to do with the issue you're facing.

Please include the following when reporting a bug to RubyGems:

* output of gem env
* full output of the gem command you're using but include "--debug -V" options to trigger debug information

Thank you.

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

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


More information about the Rubygems-developers mailing list