[Rubygems-developers] [ rubygems-Bugs-25777 ] RDoc & Ri fail on both gem update and ruby setup.rb when using rdoc gem on MS Vista.

noreply at rubyforge.org noreply at rubyforge.org
Mon May 4 20:20:07 EDT 2009


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

Category: RubyGems installer (setup.rb)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Bryan Soto (bsoto)
Assigned to: Nobody (None)
Summary: RDoc & Ri fail on both gem update and ruby setup.rb when using rdoc gem on MS Vista.

Initial Comment:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>gem --version
1.3.2

-----

C:\Users\bryan>gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.3
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:103:Warning:
Gem::SourceIndex#search support for String patterns is deprecated
Updating RubyGems to 1.3.3
Installing RubyGems 1.3.3
Installing RubyGems
Installing gem executable
Removing old source_cache files
Removing old RubyGems RDoc and ri
Installing rubygems-1.3.3 ri into C:/ruby/lib/ruby/gems/1.8/doc/rubygems-1.3.3/ri
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied - ./Gem/Commands/cdesc-Commands.yaml

-----

C:\Users\bryan>rmdir /s /q C:\ruby\lib\ruby\gems\1.8\doc\rubygems-1.3.3

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>ruby setup.rb
Installing RubyGems
Installing gem executable
Removing old source_cache files
Removing old RubyGems RDoc and ri
Installing rubygems-1.3.3 ri into C:/ruby/lib/ruby/gems/1.8/doc/rubygems-1.3.3/ri
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied - ./Gem/cdesc-Gem.yaml

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>gem list --local rdoc

*** LOCAL GEMS ***

rdoc (2.4.3)
rdoc_html_templates (2.3.0)

C:\Users\bryan\Desktop\rubygems-1.3.3>gem uninstall rdoc rdoc_html_templates
Remove executables:
        rdoc, ri

in addition to the gem? [Yn]  y
Removing rdoc
Removing ri

You have requested to uninstall the gem:
        rdoc-2.4.3
rdoc_html_templates-2.3.0 depends on [rdoc (~> 2.3)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn]  y
Successfully uninstalled rdoc-2.4.3
Successfully uninstalled rdoc_html_templates-2.3.0

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>rmdir /s /q C:\ruby\lib\ruby\gems\1.8\doc\rubygems-1.3.3

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>update_rubygems
Installing RubyGems 1.3.3
Installing RubyGems
Installing gem executable
Removing old source_cache files
Removing old RubyGems RDoc and ri
Installing rubygems-1.3.3 ri into C:/ruby/lib/ruby/gems/1.8/doc/rubygems-1.3.3/ri
Installing rubygems-1.3.3 rdoc into C:/ruby/lib/ruby/gems/1.8/doc/rubygems-1.3.3/rdoc

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

= Announce: RubyGems Release 1.3.3

... snipped ...

RubyGems installed the following executables:
        C:/ruby/bin/gem

-----

C:\Users\bryan\Desktop\rubygems-1.3.3>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.3
  - 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/bryan/.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.github.com", "http://gems.github.com"]
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
     - http://gems.github.com
     - http://gems.github.com



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

>Comment By: Daniel Berger (djberg96)
Date: 2009-05-04 17:20

Message:
BTW, I have rdoc 2.4.3 installed.

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

Comment By: Daniel Berger (djberg96)
Date: 2009-05-04 17:19

Message:
Odd. I was able to update on my Windows Vista box with no issues.

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.3
  - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [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/djberge/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/


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

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


More information about the Rubygems-developers mailing list