When I run
gem install <somegem>
command the gem
utility tries to access my home directory. It contains some non-latin characters and installation fails because of that. For example:
E:\ruby\bin>gem install <somegem>
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - C:\Documents and Settings\<user>
If I switch to another user account with a username containing ASCII characters only gem
works fine.
Does anybody know how to tell gem NOT to check my home directory?
UPDATE: I tried to set up GEM_HOME as suggested below but it didn't help (still checks the user home directory)