rubygems won't run on WinXP after system update

  • Thread starter ArtÅ«ras Å lajus
  • Start date
A

Artūras Šlajus

hello.

Anyone tried to upgrade rubygems from windows xp?

I downloaded fresh ruby 1.8.6 installer, installed, did gem update
--system and now whenever I try anything, i get this:

C:\Documents and Settings\Artūras>gem update --system
Updating RubyGems
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - C:\Documents and Settings\Artūras

Tried googling, nothing there..

Tried changing USERPROFILE env var to c:\ and c://, but still no luck :|

Any ideas?
 
L

Luis Lavena

hello.

Anyone tried to upgrade rubygems from windows xp?

I downloaded fresh ruby 1.8.6 installer, installed, did gem update
--system and now whenever I try anything, i get this:

C:\Documents and Settings\Artûras>gem update --system
Updating RubyGems
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory - C:\Documents and Settings\Artûras

Tried googling, nothing there..

Tried changing USERPROFILE env var to c:\ and c://, but still no luck :|

Any ideas?

Dunno your previous setup configuration, but your username contains an
extended accented character which will make the life of any non-
unicode application hard.

To workaround this I suggest you set HOME environment variable to
something different than Documents and Settings, since will have the
same problem.

Also, do not mess with USERPROFILE since ti serve other purpose beside
being used by applications, USERPROFILE is the place Windows stored
the ntuser part of registry, which I suggest you stay away from it :)

HTH,
 
T

ThoML

C:\Documents and Settings\Artûras>gem update --system

You could try to add the --debug flag for additional output.
 
A

Artūras Šlajus

ThoML said:
You could try to add the --debug flag for additional output.

C:\Documents and Settings\Artūras>gem update --system --debug
Exception `NameError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
rb:134 - uninitialized constant Gem::Commands::UpdateCommand
Updating RubyGems
Exception `Errno::ENOENT' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetche
r.rb:41 - No such file or directory - C:\Documents and Settings\Artūras
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - C:\Documents and Settings\Artūras
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:41:in
`stat'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:41:in
`initializ
e'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:32:in
`new'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:32:in
`fetcher'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:139:i
n `which_to_update'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:132:i
n `each'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:132:i
n `which_to_update'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:68:in
`execute'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
`invoke'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:105:in
`proce
ss_args'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
`run'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
c:/ruby/bin/gem:24
 
A

Artūras Šlajus

Luis said:
To workaround this I suggest you set HOME environment variable to
something different than Documents and Settings, since will have the
same problem.
Thanks, it seems to work :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top