From: Dennis Ranke Date: 2004-09-16T20:49:49+09:00 Subject: Re: [ANN] RubyGems 0.8.0 (failing to install) Hi! When trying to install the new rubygems 0.8 on a winxp system (latest one-click installer), I get the following error: E:\Dokumente und Einstellungen\dranke\Eigene Dateien\rubygems-0.8.0>install.rb As of RubyGems 0.8.0, library stubs are no longer needed. Searching $LOAD_PATH for stubs to optionally delete (may take a while)... ....done. No library stubs found. Successfully built RubyGem Name: sources Version: 0.0.1 File: sources-0.0.1.gem e:/programme/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:139:in `generate_ bin_scripts': You don't have write permissions into the e:/bin directory. (Gem:: FilePermissionError) from e:/programme/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:69:i n `install' from E:/Dokumente und Einstellungen/dranke/Eigene Dateien/rubygems-0.8.0 /install.rb:144:in `install_rb' from E:/Dokumente und Einstellungen/dranke/Eigene Dateien/rubygems-0.8.0 /install.rb:148 E:\Dokumente und Einstellungen\dranke\Eigene Dateien\rubygems-0.8.0>irb irb(main):001:0> require 'rbconfig' => true irb(main):002:0> Config::CONFIG['bindir'] => "e:/programme/ruby/bin" So far, I have been unable to figure out where the "e:/bin" comes from, this directory doesn't exist on this computer. In installer.rb: generate_bin_scripts CONFIG['bindir'] evaluates to the correct "e:/programme/ruby/bin" while Config::CONFIG['bindir'] evaluates to "e:/bin". When I change generate_bin_scripts to use CONFIG['bindir'] the install finishes without errors, but the sources gem is not installed and trying to install it manually produces: E:\Dokumente und Einstellungen\dranke\Eigene Dateien\rubygems-0.8.0\packages\sou rces>gem install sources-0.0.1.gem Attempting local installation of 'sources-0.0.1.gem' ERROR: Error installing gem sources-0.0.1.gem[.gem]: uninitialized constant Gem ::Installer::CONFIG I hope someone has some kind of idea what causes all of this. -- exoticorn/farbrausch