I''m running the Ruby stable snapshot. It reports 1.8.5. I dl''d fox 1.6.6 and did: ./configure --with-scintilla make make install Then I did gem install fxruby and picked 1.6 (ruby) It finally said: make install make: Nothing to be done for `install''. make clean Successfully installed fxruby-1.6.0 Installing ri documentation for fxruby-1.6.0... Installing RDoc documentation for fxruby-1.6.0... Everything looked OK until the suspicious-looking "Nothing to be done." Now I can''t do a require of fox16. It gives me an error: [hal at localhost ch19]$ irb irb(main):001:0> require ''fox16'' LoadError: no such file to load -- fox16 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from (irb):1 Where do I start debugging this? Thanks, Hal
On Jul 11, 2006, at 7:58 PM, Hal Fulton wrote:> I''m running the Ruby stable snapshot. It reports > 1.8.5. > > I dl''d fox 1.6.6 and did: > > ./configure --with-scintilla > make > make installQuick side note: The "--with-scintilla" option doesn''t mean anything to FOX. He doesn''t know anything about FXScintilla. You can safely leave that bit off in the future.> Then I did > > gem install fxruby > > and picked 1.6 (ruby) > > It finally said: > > make install > make: Nothing to be done for `install''. > > make clean > Successfully installed fxruby-1.6.0 > Installing ri documentation for fxruby-1.6.0... > Installing RDoc documentation for fxruby-1.6.0... > > Everything looked OK until the suspicious-looking > "Nothing to be done." > > Now I can''t do a require of fox16...This is a known bug in RubyGems 0.9.0; see: http://rubyforge.org/tracker/index.php? func=detail&aid=4948&group_id=126&atid=575 a workaround is to use the "gem env" command to identify your Gems installation directory (usually something like /usr/local/lib/ruby/ gems/1.8) and switch to the "gems/fxruby-1.6.0/ext/fox16" directory underneath that: cd /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.6.0/ext/fox16 and then type: make Note that depending on permissions, you may need to be logged in as root to do that. It will recompile the extension module and after that you should be in good shape.
On Jul 12, 2006, at 6:59 PM, Hal Fulton wrote:> OK, that worked. But apparently FreeRIDE needs fox 1.2?That may be true...> Here''s the tail end of my "gem install fxruby" where I > tried to get a 1.2 -- what now? (That make.out is empty, > by the way.) > > 26. fxruby 1.2.1 (ruby) > 27. fxruby 1.2.1 (mswin32) > 28. Cancel installation > > 26 > Building native extensions. This could take a while...Do you have FOX 1.2 installed (as well as a version of FXScintilla built against that build of FOX 1.2)? Also, note that the latest version of FXRuby 1.2 is version 1.2.6; when I tried to install it via RubyGems, it came up as option #17 (but I''m not sure how stable that ordering is). As a side note: While I''m sympathetic to the fact that FreeRIDE (and perhaps other apps) are still based on FXRuby 1.2, the fact is that that version''s a couple of "generations" old now. I''m definitely not making bug fixes or otherwise developing that series anymore. I''m not sure what it would take to get the FreeRIDErs to upgrade to the latest FXRuby; I''m guessing that they have just about as much free time as I do. ;)