Project

General

Profile

Actions

Bug #7509

closed

Error installing gem on clean system

Added by vo.x (Vit Ondruch) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-12-04 trunk 38184) [x86_64-linux]
Backport:
[ruby-core:50555]

Description

=begin
I just built and installed fresh Ruby on clean system and I observe following error:

gem install rdoc

ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /builddir/.gem/specs/rubygems.org%80/latest_specs.4.8

Creating the directory:

mkdir /builddir/.gem/specs/rubygems.org%80/

Solves the issue for me, but I would expect RubyGems to create it if needed anyway.
=end

Actions #1

Updated by drbrain (Eric Hodel) about 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38229.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rubygems/package.rb: Set rubygems_version before validation.
    Fixes issue with bundler.

  • test/rubygems/test_gem_package.rb: Test for above.

  • lib/rubygems/remote_fetcher.rb: Only update the cache when we have
    permission. [ruby-trunk - Bug #7509]

  • lib/rubygems/source.rb (class Gem): ditto

  • test/rubygems/test_gem_remote_fetcher.rb: Test for above.

  • lib/rubygems/test_utilities.rb: ditto

  • lib/rubygems/specification.rb: Derive base_dir properly for default
    gems. [ruby-trunk - Bug #7496]

  • test/rubygems/test_gem_specification.rb: Test for above.

  • lib/rubygems.rb: Untaint Dir.pwd when searching for gemdeps files
    for operation under $SAFE=1

Actions

Also available in: Atom PDF

Like0
Like0