oneclick / rubyinstaller

RubyInstaller for Windows - Build recipes
http://rubyinstaller.org
BSD 3-Clause "New" or "Revised" License
1.19k stars 302 forks source link

`require': no such file to load -- rubygems (LoadError) #68

Closed will-s-owen closed 13 years ago

will-s-owen commented 13 years ago

1.8.7

Ok, most of the solutions to failed requires I can find say to make sure that rubygems is required first. That is clearly not the error here. I can't get gem to run as it fails to find rubygems. The bin folder is in the path. I assume the issue is that rubygems is not in the same folder, but that seems like a massive installer issue if the solution is just move it. So what am I overlooking?

luislavena commented 13 years ago

Hello,

Saying 1.8.7 is not providing enough information about the version fo Ruby you're using nor about your environment.

Is not clear to me how (and where) you installed Ruby, if there is any environment variable that could be interfering, or something else.

Please provide the following information so we can better help you:

will-s-owen commented 13 years ago

Quite right.

ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32] using rubyinstaller-1.8.7-p334.exe All defaults on the install.

Ruby187/bin is the only related path in the PATH var

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

None of the other vars exist.

luislavena commented 13 years ago

What version of Windows are you using that has no USERPROFILE or HOMEDRIVE & HOMEPATH defined?

Also, please show the full PATH, don't censore it, we need to know if there is something else interfering.

will-s-owen commented 13 years ago

Sorry, I meant the Ruby and Gem vars. Here is the rest:

HOMEDRIVE=C: HOMEPATH=\Users\God Path=C:\Program Files\ImageMagick-6.6.9-Q16;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Intel\DMIX;C:\ Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\ Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\Ul ead Systems\MPEG;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x8 6)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Ser ver\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\M icrosoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DT S\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Commo n7\IDE\;C:\Program Files (x86)\IBM\WebSphere MQ\bin64;C:\Program Files (x86)\IBM \WebSphere MQ\bin;C:\Program Files (x86)\IBM\WebSphere MQ\tools\c\samples\bin;C: \Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files (x86)\G it\cmd;c:\ruby187\bin USERNAME=God USERPROFILE=C:\Users\God

luislavena commented 13 years ago

Can you please join us at RubyInstaller group and provide information there? This fits more a support issue than a RubyInstaller one.

http://groups.google.com/group/rubyinstaller

Thank you.

will-s-owen commented 13 years ago

Ok.