[Apollo-talk:24] Re: No such file to load -- rbconfig <= apollo problems

Back to archive index

Take_tk ggb03****@nifty*****
Sun Oct 20 22:28:30 JST 2002


Hi! This is take_tk

on [Apollo-talk:23] Re: No such file to load -- rbconfig
"repeater" <repea****@lucen*****> wrote:

: so apollo apparently require its own version of ruby.

  I don't think so.  My apollo.exe can run under the ruby.dll of other
distribution, when I invalidated the ruby.dll in apollo/bin directory.

  * c:/program file/ruby is for ActiveScriptRuby with Ruby1.6.2,  and
PATH env has its directory.  and there is
"c:\Program Files\Ruby\lib\ruby\1.6\i586-mswin32\rbconfig.rb"

(1) invalidate ruby.dll in apollo/bin
--
C:\Program Files\Apollo\bin>dir *.dll
2001/07/13  06:00           105,472 dbexpdb2.dll
2002/02/22  14:02           119,296 dbexpint.dll
2001/07/13  06:00            91,136 dbexpmys.dll
2002/03/18  06:02            92,160 dbexpmysql.dll
2002/03/18  06:02           165,376 dbexpora.dll
2002/03/18  06:02           293,888 midas.dll
2002/04/01  11:42           990,506 mswin32-ruby16.dll

C:\Program Files\Apollo\bin>ren mswin32-ruby16.dll mswin32-ruby16.dll_

C:\Program Files\Apollo\bin>dir *.dll
2001/07/13  06:00           105,472 dbexpdb2.dll
2002/02/22  14:02           119,296 dbexpint.dll
2001/07/13  06:00            91,136 dbexpmys.dll
2002/03/18  06:02            92,160 dbexpmysql.dll
2002/03/18  06:02           165,376 dbexpora.dll
2002/03/18  06:02           293,888 midas.dll
2002/04/01  11:42           990,506 mswin32-ruby16.dll_  <= invalidated!
--

(2) apollo.exe shows its $:, which shows "c:/program files/ruby" instead
of "c:/program files/apollo"

--
c:/program files/apollo/bin
C:/Program Files/Ruby/lib/ruby/site_ruby/1.6
C:/Program Files/Ruby/lib/ruby/site_ruby/1.6/i586-mswin32
C:/Program Files/Ruby/lib/ruby/site_ruby
C:/Program Files/Ruby/lib/ruby/1.6
C:/Program Files/Ruby/lib/ruby/1.6/i586-mswin32
.
C:/Program Files/Apollo/bin
c:/program files/apollo/lib
c:/program files/apollo/bin
--

  I think trouble in using the ruby.dll of other distribution occurs
from the reason of Environment Variable "PATH" of windows.

: strange, my previous version i have worked with used my normal ruby
: distribution (well apparently, i've installed it manually). i would prefer
: this.

  I also think it is strange.  Please tell me how to change ruby.dll(s)
to use.

  Or, please try to invalidate ruby.dll in apollo/bin.

  Hmm.. Is there "c:\Ruby\lib\ruby\1.6\i586-mswin32\rbconfig.rb" ?

take_tk = kumagai hidetake




More information about the Apollo-talk mailing list
Back to archive index