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

Back to archive index

Take_tk ggb03****@nifty*****
Sun Oct 20 10:25:46 JST 2002


Hi! "repeater" <repea****@lucen*****>.  This is take_tk

in [Apollo-talk:21] apollo problems
"repeater" <repea****@lucen*****> wrote:
: 1.) the latest version (ap-635_vcl60.zip) does not operate on my computer.
: when executing apollo.exe i get:
: "
: No such file to load -- rbconfig (LoadError)
:   c:/ruby/apollo/bin/phi.rb:6:in `require'

(1) Please show me the result of "dir /s c:\rbconfig.rb".
  My result is as follows;

----
C:\Program Files\Apollo\lib\ruby\1.6\i586-mswin32>dir /s c:\rbconfig.rb

 c:\Program Files\Apollo\lib\ruby\1.6\i586-mswin32 # <== OK
2002/03/01  23:30             3,558 rbconfig.rb

 c:\Program Files\Ruby\lib\ruby\1.6\i586-mswin32
2002/03/02  01:23             3,559 rbconfig.rb

C:\Program Files\Apollo\lib\ruby\1.6\i586-mswin32>
----

(2) and the result of "puts $:" after editing phi.rb as follows;

----
#!/usr/bin/env ruby

$:.push File.expand_path(File.join(File.dirname(__FILE__), '../lib'))
$:.push File.expand_path(File.dirname(__FILE__))

# v: comment out unless "require 'win32.rb'".
#require 'rbconfig'
#if /win32/ =~ Config::CONFIG['arch']
  require 'win32.rb'
#else
#  require 'linux.rb'
#end

puts $:
----

 My result is as follows;

----
c:/program files/apollo/bin
C:/Program Files/Apollo/lib/ruby/site_ruby/1.6
C:/Program Files/Apollo/lib/ruby/site_ruby/1.6/i586-mswin32 # <= OK
C:/Program Files/Apollo/lib/ruby/site_ruby
C:/Program Files/Apollo/lib/ruby/1.6
C:/Program Files/Apollo/lib/ruby/1.6/i586-mswin32
.
C:/Program Files/Apollo/bin
c:/program files/apollo/lib
c:/program files/apollo/bin

Apollo console with Phi library  version 0.635_vcl60
Phi::PLATFORM=WIN32, Phi::COMPOLIB=VCL
control_tree.rb shows controls of Apollo.exe itself.
--
Phi::SCREEN
   ....
----

take_tk = kumagai hidetake




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