Cannot install RubyGems
Hello,
I've downloaded ruby and RubyGems because I need to work on a
new project related to Lucien, and was planning to use the Feret
gem for this to make my work a bit easier.
I managed to install Ruby and the RubyGem through the installer,
but when I try to run the install command to get the ferret gem,
it's not working.
I've downloaded the ferret gem manually and placed in a
directory, and then tried to install the gem with the following
command:
C:\Users\arne.de.herdt\Downloads>gem install ferret-0.11.6.gem
This produces the following error however:
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - H:/
What can I do to solve this problem, and what is causing it in the first place?
C:\Users\arne.de.herdt\Downloads>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.7.1
- RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i386-mingw32]
- INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/Ruby/lib/ruby/gems/1.8/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- C:/Ruby/lib/ruby/gems/1.8
- C:/Ruby/lib/ruby/gems/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/`
Comments are currently closed for this discussion. You can start a new one.
2 Posted by De Herdt Arne on 04 Apr, 2011 12:00 PM
Also,
I'd like to add the following additional debug information. Perhaps it can help in solving the problem I'm encountering:
3 Posted by De Herdt Arne on 04 Apr, 2011 12:06 PM
Nevermind, seems I solved it.
I was running the shell with elevated permissions as Administrator.
When I ran it normally, it worked fine.
Can be closed.
Support Staff 4 Posted by Luis Lavena on 04 Apr, 2011 06:02 PM
Hello, this is caused by one environment variable (most of the time
HOME,USERPROFILEorHOMEDRIVEandHOMEPATH)Please verify that none of these variables point to
H:, you can do that usingSET var(replacing var with one of the variables I mentioned before)Most of the times this happens with mapped network drives or user-configured home directories.
Closing this out since seems you figure it out already.
Luis Lavena closed this discussion on 04 Apr, 2011 06:02 PM.