Error installing gem on clean system
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:
Solves the issue for me, but I would expect RubyGems to create it if needed anyway.
Updated by drbrain (Eric Hodel) over 9 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/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