[Instantrails-users] Conflict with Ruby OneClickInstaller ?

DeeJay smartgpx at gmail.com
Wed Oct 12 11:18:15 EDT 2005


InstantRails1.0pre1

Installed on WinXP-Pro SP2, on a machine that is part of a
centrally-managed domain, running under a user account that does not
have Admin rights.

Ruby OneClickInstaller already installed on this machine under D:/Ruby/Win32Inst

Unable to create a server for a new dummy Rails app.

Steps taken are as follows -

IR_Main/Rails Applications/Manage Rails Apps/Create New App

then, in Command Prompt (console) window -

rails_app> rails mynewapp

 (creates a mynewapp folder and populates it)

rails_app> cd mynewapp

rails_app> ruby script/server

 this step fails, as follows -



I:\INSTAN~1\rails_apps\mynewapp>ruby script/server
d:/ruby/win32inst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `requi
re__': No such file to load -- active_support (LoadError)
       from d:/ruby/win32inst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:18:in `require'
       from ./script/../config/environment.rb:50
       from d:/ruby/win32inst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:18:in `require__'
       from d:/ruby/win32inst/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
:18:in `require'
       from script/server:42

(Note that the 'require' seems to be searching the Ruby_1CI hierarchy,
rather than the one associated with InstantRails. There ARE instances
of 'active_support, in the I:/InstantRails hierarchy.)

DOS/Windows Environment is as follows -

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\xyz\Application Data
CFSProfType=XP
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=CC-NT561
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=Z:
HOMEPATH=\
HOMESHARE=\\cfs.camford.ac.uk\Root\Users\D\xyz
HummPATH=C:\Program Files\Hummingbird\Connectivity\10.00\Accessories\;
LOGONSERVER=\\SPEARMINT
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=I:\INSTAN~1\rails_apps\ruby\bin;d:\ruby\win32inst\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Hummingbird\Connectivity\10.00\Accessories\;;y:\putty;Y:\Java
Development Kit\Java SDK
1.5\bin;I:\INSTAN~1\ruby\bin;I:\INSTAN~1\Apache;I:\INSTAN~1\PHP
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0102
ProgramFiles=C:\Program Files
PROMPT=$P$G
RUBYOPT=rubygems
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Temp
TMP=C:\Temp
USERDNSDOMAIN=CFS.camford.AC.UK
USERDOMAIN=CFS
USERNAME=xyz
USERPROFILE=C:\Documents and Settings\xyz
windir=C:\WINDOWS


I wonder if there is a Registry key from Ruby 1CI that is overriding
these environment variables?

This is provided as feedback to improve InstantRails, not as a
desperate plea for assistance.

David Roberts, Leicester, UK



More information about the Instantrails-users mailing list