On Wed, Nov 20, 2013 at 11:47 AM, Max M. [email protected] wrote:
CommonProgramW6432=C:\Program Files\Common Files
LOGONSERVER=\*****
Server\110\Tools\Binn;C:\Program Files
PROCESSOR_ARCHITECTURE=AMD64
SAL_ACCESSIBILITY_ENABLED=1
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
- RUBY VERSION: 1.9.3 (2013-11-14 patchlevel 392) [java]
- GEM CONFIGURATION:
- C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
- C:\Program Files (x86)\GNU\GnuPG\pub
- C:\Program Files (x86)\gnuplot\bin
- c:\Apps\jruby-1.7.8\bin
- C:\Users*****\AppData\Roaming\npm
C:>cd %USERPROFILE% && type .jrubyrc
The system cannot find the file specified.
Odd. Nothing jumps out at me, but you have a lot of stuff on your
default
PATH
Let’s try a couple more things: (1) try a minimal path, and (2) see if
you’ve got anything in cmd.exe’s AutoRun setting.
First, set a minimal PATH and try things again. Here’s the environment
on
my machine that still appears to be working:
C:>set
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Apps\jruby\bin
C:>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Apps\jruby\bin
C:>jruby -S gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.1.11
- RUBY VERSION: 1.9.3 (2013-11-14 patchlevel 392) [java]
- INSTALLATION DIRECTORY: C:/Apps/jruby/lib/ruby/gems/shared
- RUBY EXECUTABLE: C:/Apps/jruby/bin/jruby.exe
- EXECUTABLE DIRECTORY: C:/Apps/jruby/bin
- SPEC CACHE DIRECTORY: C:/Users/Jon/.gem/specs
- RUBYGEMS PLATFORMS:
- GEM PATHS:
- C:/Apps/jruby/lib/ruby/gems/shared
- C:/Users/Jon/.gem/jruby/1.9
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- “install” => “–no-rdoc --no-ri --env-shebang”
- “update” => “–no-rdoc --no-ri --env-shebang”
- “gem” => “–no-ri --no-rdoc”
- REMOTE SOURCES:
- SHELL PATH:
- C:\WINDOWS\system32
- C:\WINDOWS
- C:\WINDOWS\System32\Wbem
- C:\Apps\jruby\bin
- .
-
- .
C:\Users\Jon\Documents>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\Jon\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=BLACK
ComSpec=C:\WINDOWS\system32\cmd.exe
configsetroot=C:\WINDOWS\ConfigSetRoot
FP_NO_HOST_CHECK=NO
HOME=C:\Users\Jon
HOMEDRIVE=C:
HOMEPATH=\Users\Jon
JAVA_HOME=C:\Apps\jdk1.7.0_45\jre
JDK_HOME=C:\Apps\jdk1.7.0_45
LOCALAPPDATA=C:\Users\Jon\AppData\Local
LOGONSERVER=\BLACK
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Apps\jruby\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
READYAPPS=C:\ProgramData\Lenovo\ReadyApps
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\Jon\AppData\Local\Temp
TMP=C:\Users\Jon\AppData\Local\Temp
TVT=C:\Program Files (x86)\Lenovo
USERDOMAIN=Black
USERDOMAIN_ROAMINGPROFILE=Black
USERNAME=Jon
USERPROFILE=C:\Users\Jon
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\Tools
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\Tools
windir=C:\WINDOWS
Lastly, see if your system has anything in the AutoRun registry setting
that may conflict. The following is from my system and shows there is no
AutoRun key. If you see an AutoRun key in your listing, delete it and
try
again as AutoRun tweaks have been known to cause various types of
problems
with gem installations and other things.
C:>reg query “HKLM\Software\Microsoft\Command Processor” /s
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor
PathCompletionChar REG_DWORD 0x40
EnableExtensions REG_DWORD 0x1
CompletionChar REG_DWORD 0x40
DefaultColor REG_DWORD 0x0
C:>reg query “HKCU\Software\Microsoft\Command Processor” /s
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
PathCompletionChar REG_DWORD 0x9
EnableExtensions REG_DWORD 0x1
CompletionChar REG_DWORD 0x9
DefaultColor REG_DWORD 0x0