Fxruby gem problem

Dear ruby acolytes

ruby 1.8.5

I am floundering here, again.
Having more or less decided to switch from rubytk to fxruby I have
installed FOX and the fxruby-1.4.7 gem in Mandriva 2007. The simple
test program from David Berube’s book Practical Ruby Gems does not
work. In fact none of the package test examples will run either. They
all
fall down trying to load fox14. This is my test script:

require ‘fox14’

include Fox

zeg = FXApp.new

fen = FXMainWindow.new( zeg, “Test app” )

abutton = FXButton.new( fen, ‘Click me!’ )
abutton.connect( SEL_COMMAND ) do
abutton.text = “I’ve been clicked!”
end

zeg.create
fen.show( PLACEMENT_SCREEN )
zeg.run

and the error is:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': no such file to load -- fox14 (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from zeg.rb:2

The gem search path is:
/usr/lib/ruby/gems/1.8/gems/fxruby-1.4.7
and the target is lib/fox14 which certainly exists and contains a
number of ruby scripts; aliases.rb, calendar.rb, core.rb, etc.

It looks like ruby is trying to load the directory as a file, perhaps
as fox14.rb. Does anybody know what causes this behaviour? All the
available fxruby scripts seem to imply that fox14 should be acceptable
as a target. Is there some kind of configuration that needs to be
performed to get ruby to open it as a directory and load all the
files? Could there be an error in the gem spec file?

Simple gems like blinkenlights and creditcard work as expected but
they have single targets like lib/blinkenlights.rb and
lib/creditcard.rb.

Also, with require_gem instead of require this is the error report:
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:251:in report_activate_error': Could not find RubyGem fox14 (>= 0.0.0) (Gem::LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:188:inactivate’
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:66:in
active_gem_with_options' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:59:inrequire_gem’
from zeg.rb:2

On Jan 15, 2008, at 2:05 PM, Len L. wrote:

I am floundering here, again.
Having more or less decided to switch from rubytk to fxruby I have
installed FOX and the fxruby-1.4.7 gem in Mandriva 2007. The simple
test program from David Berube’s book Practical Ruby Gems does not
work. In fact none of the package test examples will run either.
They all
fall down trying to load fox14…

number of ruby scripts; aliases.rb, calendar.rb, core.rb, etc.
It sounds as though the gem installation failed at some point. What
version of RubyGems are you using? Were there any error messages
during the build?

Please note that FXRuby version 1.4.7 is a very, very old version
which is no longer supported. It’s quite possible that there have
been changes to GCC, or Ruby, or RubyGems, or who-knows-what, that
have rendered FXRuby 1.4.7 unbuildable in your particular development
environment. Is there some reason why you can’t use the latest
release of FXRuby (currently, version 1.6.13)?

On Tue, 15 Jan 2008 15:50:13 -0500, Lyle J. wrote:

> which certainly exists and contains a number of ruby scripts; there some reason why you can't use the latest release of FXRuby (currently, version 1.6.13)?

Sorry, I missed your first question. Rubygems is 0.9.0.

Len

On Tue, 15 Jan 2008 15:50:13 -0500, Lyle J. wrote:

> and the target is lib/fox14 which certainly exists and contains a environment. Is there some reason why you can't use the latest release of FXRuby (currently, version 1.6.13)?

I did try that at some point and have just tried it again. It fails to
build the native extensions. My guess was that the FOX library version
had to match and Mandriva supplied libFOX-1.4. Certainly the native
extensions compile with FOX-1.4 and fxruby-1.4.7. There is a FOX-1.7 on
the system but I assume that would lead to compilation errors as well.

I shall check Mandriva 2008 to see if FOX-1.6 is available.

Later

Len

On 1/15/08, Len L. [email protected] wrote:

Have tried out fxruby-1.6.13 on Mandriva 2008 with a similar failure:
zeg.rb:2:in `require’: no such file to load – fox16 (LoadError)

ruby -v => 1.8.6
gem -v => 0.9.0

It looks like the Mandriva packages are broken. Maybe time to remove the
ruby tree and install the whole lot from source?

Let’s not be that drastic yet! Can you send me (off-list) the contents
of your /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13 directory, e.g.

ls -lR /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13 > contents.txt

I want to see if it even built the extension (which should be in
/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/ext/fox16/fox16.so).

On Tue, 15 Jan 2008 21:33:11 +0000, Len L. wrote:

fall down trying to load fox14…
The gem search path is:
to GCC, or Ruby, or RubyGems, or who-knows-what, that have rendered
FXRuby 1.4.7 unbuildable in your particular development environment. Is
there some reason why you can’t use the latest release of FXRuby
(currently, version 1.6.13)?

Sorry, I missed your first question. Rubygems is 0.9.0.

Len

Apologies to all for replying to my own posts - the problem is I have to
interleave this stuff with my day job which is looking after my invalid
wife.

Have tried out fxruby-1.6.13 on Mandriva 2008 with a similar failure:
zeg.rb:2:in `require’: no such file to load – fox16 (LoadError)

ruby -v => 1.8.6
gem -v => 0.9.0

It looks like the Mandriva packages are broken. Maybe time to remove
the
ruby tree and install the whole lot from source?

On Jan 15, 2008, at 3:35 PM, Len L. wrote:

Sorry, I missed your first question. Rubygems is 0.9.0.

Drat, I should have picked up on this sooner.

There was a bug in RubyGems 0.9.0 that caused it to do a “make clean”
on compiled extension modules after it finished compiling them, and
that’s almost certainly why the shared object for FXRuby (fox16.so)
isn’t present. The problem is described here:

http://rubyforge.org/forum/forum.php?forum_id=8936

and also here:

https://rubyforge.org/tracker/index.php?
func=detail&aid=4948&group_id=126&atid=575

It’s fixed in more recent versions of RubyGems; if you upgrade to the
latest RubyGems, this should solve your problems with installing FXRuby.

Hope this helps,

Lyle

On Tue, 15 Jan 2008 21:19:32 -0500, Lyle J. wrote:

Let’s not be that drastic yet! Can you send me (off-list) the contents
of your /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13 directory, e.g.

ls -lR /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13 > contents.txt

I want to see if it even built the extension (which should be in
/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/ext/fox16/fox16.so).

Sorry Lyle, I tried to contact you offlist and the message bounced.
This
happens to me a lot. So I am sending the whole reply to the list with
apologies and some selective excisions.

Thanks for your personal attention Lyle. I see that you are the author
listed in the gemspec.

You are correct - the shareable object library is missing. A successful
installation was reported but during the attempted build of fox16.so gcc
posted a large number of warnings, all related to deprecated conversions
from string constant to char*. There may well have been errors buried
in that lot.

Please see the attachment. I will reinstall the gem and try to capture
the compiler output.

Len

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13:
total 68
drwxr-xr-x 3 root root 4096 2008-01-15 23:31 doc
drwxr-xr-x 4 root root 4096 2008-01-15 23:31 examples
drwxr-xr-x 3 root root 4096 2008-01-15 23:31 ext
-rw-r–r-- 1 root root 737 2008-01-15 23:31 index.html
drwxr-xr-x 3 root root 4096 2008-01-15 23:31 lib
-rw-r–r-- 1 root root 24353 2008-01-15 23:31 LICENSE
drwxr-xr-x 2 root root 12288 2008-01-15 23:31 rdoc-sources
-rw-r–r-- 1 root root 1524 2008-01-15 23:31 README
drwxr-xr-x 2 root root 4096 2008-01-15 23:31 tests
drwxr-xr-x 3 root root 4096 2008-01-15 23:31 web

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/doc:
total 392
-rw-r–r-- 1 root root 4536 2008-01-15 23:31 apes02.html
-rw-r–r-- 1 root root 5030 2008-01-15 23:31 apes03.html
-rw-r–r-- 1 root root 5206 2008-01-15 23:31 book.html
-rw-r–r-- 1 root root 16497 2008-01-15 23:31 build.html
-rw-r–r-- 1 root root 2936 2008-01-15 23:31 ch03s02.html
-rw-r–r-- 1 root root 5279 2008-01-15 23:31 ch03s03.html
-rw-r–r-- 1 root root 3484 2008-01-15 23:31 ch03s04.html
-rw-r–r-- 1 root root 6236 2008-01-15 23:31 ch03s05.html
-rw-r–r-- 1 root root 5214 2008-01-15 23:31 ch04s02.html
-rw-r–r-- 1 root root 4625 2008-01-15 23:31 ch04s03.html
-rw-r–r-- 1 root root 6457 2008-01-15 23:31 ch04s04.html
-rw-r–r-- 1 root root 14927 2008-01-15 23:31 ch05s02.html
-rw-r–r-- 1 root root 6814 2008-01-15 23:31 ch05s03.html
-rw-r–r-- 1 root root 91335 2008-01-15 23:31 changes.html
-rw-r–r-- 1 root root 5516 2008-01-15 23:31 clipboardtut.html
-rw-r–r-- 1 root root 23821 2008-01-15 23:31 differences.html
-rw-r–r-- 1 root root 14531 2008-01-15 23:31 dragdroptut.html
-rw-r–r-- 1 root root 12070 2008-01-15 23:31 events.html
-rw-r–r-- 1 root root 20033 2008-01-15 23:31 examples.html
-rw-r–r-- 1 root root 9804 2008-01-15 23:31 gems.html
-rw-r–r-- 1 root root 6213 2008-01-15 23:31 goals.html
drwxr-xr-x 2 root root 4096 2008-01-15 23:31 images
-rw-r–r-- 1 root root 3714 2008-01-15 23:31 implementation.html
-rw-r–r-- 1 root root 6722 2008-01-15 23:31 infosources.html
-rw-r–r-- 1 root root 6664 2008-01-15 23:31 library.html
-rw-r–r-- 1 root root 9329 2008-01-15 23:31 opengl.html
-rw-r–r-- 1 root root 4034 2008-01-15 23:31 pt01.html
-rw-r–r-- 1 root root 2901 2008-01-15 23:31 pt02.html
-rw-r–r-- 1 root root 6110 2008-01-15 23:31 scintilla.html
-rw-r–r-- 1 root root 4157 2008-01-15 23:31 style.css
-rw-r–r-- 1 root root 4044 2008-01-15 23:31 subversion.html
-rw-r–r-- 1 root root 7679 2008-01-15 23:31 tutorial1.html
-rw-r–r-- 1 root root 4717 2008-01-15 23:31 unicode.html

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/doc/images:
total 472
-rw-r–r-- 1 root root 2872 2008-01-15 23:31 babelfish.png

-rw-r–r-- 1 root root 1181 2008-01-15 23:31 tutorial1.png

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/examples:
total 320
-rw-r–r-- 1 root root 3032 2008-01-15 23:31 babelfish.rb

-rw-r–r-- 1 root root 786 2008-01-15 23:31 unicode.rb

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/examples/icons:
total 292
-rw-r–r-- 1 root root 2238 2008-01-15 23:31 AngryGuyInBunnySuit.ico
-rw-r–r-- 1 root root 338 2008-01-15 23:31 backview.png

-rw-r–r-- 1 root root 334 2008-01-15 23:31 zoom.png

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/examples/textedit:
total 88
-rw-r–r-- 1 root root 2404 2008-01-15 23:31 commands.rb

-rw-r–r-- 1 root root 56856 2008-01-15 23:31 textedit.rb

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/ext:
total 4
drwxr-xr-x 3 root root 4096 2008-01-15 23:32 fox16

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/ext/fox16:
total 9248
-rw-r–r-- 1 root root 934030 2008-01-15 23:31 core_wrap.cpp
-rw-r–r-- 1 root root 218046 2008-01-15 23:31 dc_wrap.cpp
-rw-r–r-- 1 root root 672895 2008-01-15 23:31 dialogs_wrap.cpp
-rw-r–r-- 1 root root 5735 2008-01-15 23:31 extconf.rb
-rw-r–r-- 1 root root 1014691 2008-01-15 23:31 frames_wrap.cpp
-rw-r–r-- 1 root root 901947 2008-01-15 23:31 fx3d_wrap.cpp
-rw-r–r-- 1 root root 3351 2008-01-15 23:31 FXRbApp.cpp
-rw-r–r-- 1 root root 3737 2008-01-15 23:31 FXRbDataTarget.cpp
-rw-r–r-- 1 root root 3317 2008-01-15 23:31 FXRbGLViewer.cpp
-rw-r–r-- 1 root root 64442 2008-01-15 23:31 FXRuby.cpp
-rw-r–r-- 1 root root 8918 2008-01-15 23:32 gem_make.out
-rw-r–r-- 1 root root 321228 2008-01-15 23:31 iconlist_wrap.cpp
-rw-r–r-- 1 root root 335659 2008-01-15 23:31 icons_wrap.cpp
-rw-r–r-- 1 root root 318073 2008-01-15 23:31 image_wrap.cpp
-rw-r–r-- 1 root root 41521 2008-01-15 23:31 impl.cpp
drwxr-xr-x 2 root root 12288 2008-01-15 23:31 include
-rw-r–r-- 1 root root 468280 2008-01-15 23:31 label_wrap.cpp
-rw-r–r-- 1 root root 527064 2008-01-15 23:31 layout_wrap.cpp
-rw-r–r-- 1 root root 17943 2008-01-15 23:31 librb.c
-rw-r–r-- 1 root root 214141 2008-01-15 23:31 list_wrap.cpp
-rw-r–r-- 1 root root 4555 2008-01-15 23:31 Makefile
-rw-r–r-- 1 root root 4314 2008-01-15 23:31 MANIFEST
-rw-r–r-- 1 root root 38710 2008-01-15 23:31 markfuncs.cpp
-rw-r–r-- 1 root root 404542 2008-01-15 23:31 mdi_wrap.cpp
-rw-r–r-- 1 root root 445811 2008-01-15 23:31 menu_wrap.cpp
-rw-r–r-- 1 root root 13080 2008-01-15 23:31 mkmf.log
-rw-r–r-- 1 root root 315937 2008-01-15 23:31 table_wrap.cpp
-rw-r–r-- 1 root root 284386 2008-01-15 23:31 text_wrap.cpp
-rw-r–r-- 1 root root 474707 2008-01-15 23:31 treelist_wrap.cpp
-rw-r–r-- 1 root root 1251283 2008-01-15 23:31 ui_wrap.cpp
-rw-r–r-- 1 root root 4118 2008-01-15 23:31
unregisterOwnedObjects.cpp

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/ext/fox16/include:
total 1072
-rw-r–r-- 1 root root 1897 2008-01-15 23:31 FXMemoryBuffer.h
-rw-r–r-- 1 root root 2272 2008-01-15 23:31 FXRb4Splitter.h
-rw-r–r-- 1 root root 2081 2008-01-15 23:31 FXRb7Segment.h
-rw-r–r-- 1 root root 1709 2008-01-15 23:31 FXRbAccelTable.h
-rw-r–r-- 1 root root 4573 2008-01-15 23:31 FXRbApp.h
-rw-r–r-- 1 root root 433 2008-01-15 23:31 FXRbAppVirtuals.h
-rw-r–r-- 1 root root 2105 2008-01-15 23:31 FXRbArrowButton.h
-rw-r–r-- 1 root root 2173 2008-01-15 23:31 FXRbBitmapFrame.h
-rw-r–r-- 1 root root 4597 2008-01-15 23:31 FXRbBitmap.h
-rw-r–r-- 1 root root 2241 2008-01-15 23:31 FXRbBitmapView.h
-rw-r–r-- 1 root root 1128 2008-01-15 23:31 FXRbBitmapVirtuals.h
-rw-r–r-- 1 root root 2079 2008-01-15 23:31 FXRbBMPIcon.h
-rw-r–r-- 1 root root 2057 2008-01-15 23:31 FXRbBMPImage.h
-rw-r–r-- 1 root root 2109 2008-01-15 23:31 FXRbButton.h
-rw-r–r-- 1 root root 1970 2008-01-15 23:31 FXRbCanvas.h
-rw-r–r-- 1 root root 2136 2008-01-15 23:31 FXRbCheckButton.h
-rw-r–r-- 1 root root 2359 2008-01-15 23:31 FXRbChoiceBox.h
-rw-r–r-- 1 root root 2066 2008-01-15 23:31 FXRbColorBar.h
-rw-r–r-- 1 root root 2055 2008-01-15 23:31 FXRbColorDialog.h
-rw-r–r-- 1 root root 2901 2008-01-15 23:31 FXRbColorList.h
-rw-r–r-- 1 root root 2077 2008-01-15 23:31 FXRbColorRing.h
-rw-r–r-- 1 root root 2026 2008-01-15 23:31 FXRbColorSelector.h
-rw-r–r-- 1 root root 2125 2008-01-15 23:31 FXRbColorWell.h
-rw-r–r-- 1 root root 2090 2008-01-15 23:31 FXRbColorWheel.h
-rw-r–r-- 1 root root 2220 2008-01-15 23:31 FXRbComboBox.h
-rw-r–r-- 1 root root 2432 2008-01-15 23:31 FXRbCommon.h
-rw-r–r-- 1 root root 1919 2008-01-15 23:31 FXRbComposite.h
-rw-r–r-- 1 root root 2153 2008-01-15 23:31 FXRbCURCursor.h
-rw-r–r-- 1 root root 3218 2008-01-15 23:31 FXRbCursor.h
-rw-r–r-- 1 root root 211 2008-01-15 23:31 FXRbCursorVirtuals.h
-rw-r–r-- 1 root root 2177 2008-01-15 23:31 FXRbDataTarget.h
-rw-r–r-- 1 root root 19869 2008-01-15 23:31 FXRbDC.h
-rw-r–r-- 1 root root 1831 2008-01-15 23:31 FXRbDCPrint.h
-rw-r–r-- 1 root root 7692 2008-01-15 23:31 FXRbDCVirtuals.h
-rw-r–r-- 1 root root 2377 2008-01-15 23:31 FXRbDCWindow.h
-rw-r–r-- 1 root root 1729 2008-01-15 23:31 FXRbDebugTarget.h
-rw-r–r-- 1 root root 1741 2008-01-15 23:31 FXRbDelegator.h
-rw-r–r-- 1 root root 2029 2008-01-15 23:31 FXRbDial.h
-rw-r–r-- 1 root root 2793 2008-01-15 23:31 FXRbDialogBox.h
-rw-r–r-- 1 root root 120 2008-01-15 23:31 FXRbDialogBoxVirtuals.h
-rw-r–r-- 1 root root 1653 2008-01-15 23:31 FXRbDict.h
-rw-r–r-- 1 root root 2108 2008-01-15 23:31 FXRbDirBox.h
-rw-r–r-- 1 root root 2226 2008-01-15 23:31 FXRbDirDialog.h
-rw-r–r-- 1 root root 2668 2008-01-15 23:31 FXRbDirList.h
-rw-r–r-- 1 root root 1988 2008-01-15 23:31 FXRbDirSelector.h
-rw-r–r-- 1 root root 3640 2008-01-15 23:31 FXRbDockBar.h
-rw-r–r-- 1 root root 393 2008-01-15 23:31 FXRbDockBarVirtuals.h
-rw-r–r-- 1 root root 2031 2008-01-15 23:31 FXRbDockHandler.h
-rw-r–r-- 1 root root 3409 2008-01-15 23:31 FXRbDockSite.h
-rw-r–r-- 1 root root 473 2008-01-15 23:31 FXRbDockSiteVirtuals.h
-rw-r–r-- 1 root root 2105 2008-01-15 23:31 FXRbDockTitle.h
-rw-r–r-- 1 root root 1689 2008-01-15 23:31 FXRbDocument.h
-rw-r–r-- 1 root root 1878 2008-01-15 23:31 FXRbDragCorner.h
-rw-r–r-- 1 root root 2169 2008-01-15 23:31 FXRbDrawable.h
-rw-r–r-- 1 root root 98 2008-01-15 23:31 FXRbDrawableVirtuals.h
-rw-r–r-- 1 root root 2122 2008-01-15 23:31 FXRbDriveBox.h
-rw-r–r-- 1 root root 2243 2008-01-15 23:31 FXRbFileDialog.h
-rw-r–r-- 1 root root 3593 2008-01-15 23:31 FXRbFileDict.h
-rw-r–r-- 1 root root 377 2008-01-15 23:31 FXRbFileDictVirtuals.h
-rw-r–r-- 1 root root 2682 2008-01-15 23:31 FXRbFileList.h
-rw-r–r-- 1 root root 1999 2008-01-15 23:31 FXRbFileSelector.h
-rw-r–r-- 1 root root 1375 2008-01-15 23:31 FXRbFoldingItemVirtuals.h
-rw-r–r-- 1 root root 10499 2008-01-15 23:31 FXRbFoldingList.h
-rw-r–r-- 1 root root 1486 2008-01-15 23:31 FXRbFoldingListVirtuals.h
-rw-r–r-- 1 root root 2038 2008-01-15 23:31 FXRbFontDialog.h
-rw-r–r-- 1 root root 6862 2008-01-15 23:31 FXRbFont.h
-rw-r–r-- 1 root root 1999 2008-01-15 23:31 FXRbFontSelector.h
-rw-r–r-- 1 root root 1842 2008-01-15 23:31 FXRbFontVirtuals.h
-rw-r–r-- 1 root root 1997 2008-01-15 23:31 FXRbFrame.h
-rw-r–r-- 1 root root 2188 2008-01-15 23:31 FXRbGIFCursor.h
-rw-r–r-- 1 root root 2080 2008-01-15 23:31 FXRbGIFIcon.h
-rw-r–r-- 1 root root 2057 2008-01-15 23:31 FXRbGIFImage.h
-rw-r–r-- 1 root root 3419 2008-01-15 23:31 FXRbGLCanvas.h
-rw-r–r-- 1 root root 366 2008-01-15 23:31 FXRbGLCanvasVirtuals.h
-rw-r–r-- 1 root root 2063 2008-01-15 23:31 FXRbGLContext.h
-rw-r–r-- 1 root root 3561 2008-01-15 23:31 FXRbGLObject.h
-rw-r–r-- 1 root root 658 2008-01-15 23:31 FXRbGLObjectVirtuals.h
-rw-r–r-- 1 root root 2902 2008-01-15 23:31 FXRbGLShape.h
-rw-r–r-- 1 root root 206 2008-01-15 23:31 FXRbGLShapeVirtuals.h
-rw-r–r-- 1 root root 3555 2008-01-15 23:31 FXRbGLViewer.h
-rw-r–r-- 1 root root 324 2008-01-15 23:31 FXRbGLViewerVirtuals.h
-rw-r–r-- 1 root root 1978 2008-01-15 23:31 FXRbGLVisual.h
-rw-r–r-- 1 root root 2162 2008-01-15 23:31 FXRbGradientBar.h
-rw-r–r-- 1 root root 2142 2008-01-15 23:31 FXRbGroupBox.h
-rw-r–r-- 1 root root 4434 2008-01-15 23:31 FXRbHeader.h
-rw-r–r-- 1 root root 645 2008-01-15 23:31 FXRbHeaderItemVirtuals.h
-rw-r–r-- 1 root root 2188 2008-01-15 23:31 FXRbHorizontalFrame.h
-rw-r–r-- 1 root root 2077 2008-01-15 23:31 FXRbICOIcon.h
-rw-r–r-- 1 root root 2054 2008-01-15 23:31 FXRbICOImage.h
-rw-r–r-- 1 root root 2075 2008-01-15 23:31 FXRbIcon.h
-rw-r–r-- 1 root root 2705 2008-01-15 23:31 FXRbIconItemVirtuals.h
-rw-r–r-- 1 root root 11723 2008-01-15 23:31 FXRbIconList.h
-rw-r–r-- 1 root root 1306 2008-01-15 23:31 FXRbIconListVirtuals.h
-rw-r–r-- 1 root root 6305 2008-01-15 23:31 FXRbIconSource.h
-rw-r–r-- 1 root root 2102 2008-01-15 23:31 FXRbIconSourceVirtuals.h
-rw-r–r-- 1 root root 2276 2008-01-15 23:31 FXRbId.h
-rw-r–r-- 1 root root 225 2008-01-15 23:31 FXRbIdVirtuals.h
-rw-r–r-- 1 root root 2156 2008-01-15 23:31 FXRbImageFrame.h
-rw-r–r-- 1 root root 5962 2008-01-15 23:31 FXRbImage.h
-rw-r–r-- 1 root root 2176 2008-01-15 23:31 FXRbImageView.h
-rw-r–r-- 1 root root 1702 2008-01-15 23:31 FXRbImageVirtuals.h
-rw-r–r-- 1 root root 2474 2008-01-15 23:31 FXRbInputDialog.h
-rw-r–r-- 1 root root 2082 2008-01-15 23:31 FXRbJPGIcon.h
-rw-r–r-- 1 root root 2059 2008-01-15 23:31 FXRbJPGImage.h
-rw-r–r-- 1 root root 2028 2008-01-15 23:31 FXRbKnob.h
-rw-r–r-- 1 root root 2057 2008-01-15 23:31 FXRbLabel.h
-rw-r–r-- 1 root root 2498 2008-01-15 23:31 FXRbListBox.h
-rw-r–r-- 1 root root 132 2008-01-15 23:31 FXRbListBoxVirtuals.h
-rw-r–r-- 1 root root 8003 2008-01-15 23:31 FXRbList.h
-rw-r–r-- 1 root root 1049 2008-01-15 23:31 FXRbListItemVirtuals.h
-rw-r–r-- 1 root root 1146 2008-01-15 23:31 FXRbListVirtuals.h
-rw-r–r-- 1 root root 2139 2008-01-15 23:31 FXRbMainWindow.h
-rw-r–r-- 1 root root 2114 2008-01-15 23:31 FXRbMatrix.h
-rw-r–r-- 1 root root 5173 2008-01-15 23:31 FXRbMDIButton.h
-rw-r–r-- 1 root root 3032 2008-01-15 23:31 FXRbMDIChild.h
-rw-r–r-- 1 root root 403 2008-01-15 23:31 FXRbMDIChildVirtuals.h
-rw-r–r-- 1 root root 3015 2008-01-15 23:31 FXRbMDIClient.h
-rw-r–r-- 1 root root 442 2008-01-15 23:31 FXRbMDIClientVirtuals.h
-rw-r–r-- 1 root root 2630 2008-01-15 23:31 FXRbMenuBar.h
-rw-r–r-- 1 root root 2142 2008-01-15 23:31 FXRbMenuButton.h
-rw-r–r-- 1 root root 1952 2008-01-15 23:31 FXRbMenuCaption.h
-rw-r–r-- 1 root root 1963 2008-01-15 23:31 FXRbMenuCascade.h
-rw-r–r-- 1 root root 1928 2008-01-15 23:31 FXRbMenuCheck.h
-rw-r–r-- 1 root root 1974 2008-01-15 23:31 FXRbMenuCommand.h
-rw-r–r-- 1 root root 1907 2008-01-15 23:31 FXRbMenuPane.h
-rw-r–r-- 1 root root 1928 2008-01-15 23:31 FXRbMenuRadio.h
-rw-r–r-- 1 root root 1933 2008-01-15 23:31 FXRbMenuSeparator.h
-rw-r–r-- 1 root root 1941 2008-01-15 23:31 FXRbMenuTitle.h
-rw-r–r-- 1 root root 2367 2008-01-15 23:31 FXRbMessageBox.h
-rw-r–r-- 1 root root 2217 2008-01-15 23:31 FXRbObject.h
-rw-r–r-- 1 root root 313 2008-01-15 23:31 FXRbObjectVirtuals.h
-rw-r–r-- 1 root root 2828 2008-01-15 23:31 FXRbOptionMenu.h
-rw-r–r-- 1 root root 2079 2008-01-15 23:31 FXRbPacker.h
-rw-r–r-- 1 root root 2069 2008-01-15 23:31 FXRbPCXIcon.h
-rw-r–r-- 1 root root 2039 2008-01-15 23:31 FXRbPCXImage.h
-rw-r–r-- 1 root root 2088 2008-01-15 23:31 FXRbPicker.h
-rw-r–r-- 1 root root 2069 2008-01-15 23:31 FXRbPNGIcon.h
-rw-r–r-- 1 root root 2046 2008-01-15 23:31 FXRbPNGImage.h
-rw-r–r-- 1 root root 2489 2008-01-15 23:31 FXRbPopup.h
-rw-r–r-- 1 root root 213 2008-01-15 23:31 FXRbPopupVirtuals.h
-rw-r–r-- 1 root root 2069 2008-01-15 23:31 FXRbPPMIcon.h
-rw-r–r-- 1 root root 2046 2008-01-15 23:31 FXRbPPMImage.h
-rw-r–r-- 1 root root 2045 2008-01-15 23:31 FXRbPrintDialog.h
-rw-r–r-- 1 root root 2118 2008-01-15 23:31 FXRbProgressBar.h
-rw-r–r-- 1 root root 2146 2008-01-15 23:31 FXRbProgressDialog.h
-rw-r–r-- 1 root root 2142 2008-01-15 23:31 FXRbRadioButton.h
-rw-r–r-- 1 root root 2059 2008-01-15 23:31 FXRbRealSlider.h
-rw-r–r-- 1 root root 2501 2008-01-15 23:31 FXRbRealSpinner.h
-rw-r–r-- 1 root root 121 2008-01-15 23:31 FXRbRealSpinnerVirtuals.h
-rw-r–r-- 1 root root 2044 2008-01-15 23:31 FXRbRecentFiles.h
-rw-r–r-- 1 root root 1784 2008-01-15 23:31 FXRbRegistry.h
-rw-r–r-- 1 root root 2120 2008-01-15 23:31 FXRbReplaceDialog.h
-rw-r–r-- 1 root root 2071 2008-01-15 23:31 FXRbRGBIcon.h
-rw-r–r-- 1 root root 2048 2008-01-15 23:31 FXRbRGBImage.h
-rw-r–r-- 1 root root 1888 2008-01-15 23:31 FXRbRootWindow.h
-rw-r–r-- 1 root root 2107 2008-01-15 23:31 FXRbRuler.h
-rw-r–r-- 1 root root 2032 2008-01-15 23:31 FXRbRulerView.h
-rw-r–r-- 1 root root 2015 2008-01-15 23:31 FXRbScintilla.h
-rw-r–r-- 1 root root 3206 2008-01-15 23:31 FXRbScrollArea.h
-rw-r–r-- 1 root root 396 2008-01-15 23:31 FXRbScrollAreaVirtuals.h
-rw-r–r-- 1 root root 2484 2008-01-15 23:31 FXRbScrollBar.h
-rw-r–r-- 1 root root 1955 2008-01-15 23:31 FXRbScrollPane.h
-rw-r–r-- 1 root root 2319 2008-01-15 23:31 FXRbScrollWindow.h
-rw-r–r-- 1 root root 2097 2008-01-15 23:31 FXRbSearchDialog.h
-rw-r–r-- 1 root root 3405 2008-01-15 23:31 FXRbSeparator.h
-rw-r–r-- 1 root root 1689 2008-01-15 23:31 FXRbSettings.h
-rw-r–r-- 1 root root 2055 2008-01-15 23:31 FXRbShell.h
-rw-r–r-- 1 root root 3210 2008-01-15 23:31 FXRbShutter.h
-rw-r–r-- 1 root root 102 2008-01-15 23:31 FXRbShutterVirtuals.h
-rw-r–r-- 1 root root 2015 2008-01-15 23:31 FXRbSlider.h
-rw-r–r-- 1 root root 2435 2008-01-15 23:31 FXRbSpinner.h
-rw-r–r-- 1 root root 118 2008-01-15 23:31 FXRbSpinnerVirtuals.h
-rw-r–r-- 1 root root 2140 2008-01-15 23:31 FXRbSplashWindow.h
-rw-r–r-- 1 root root 2183 2008-01-15 23:31 FXRbSplitter.h
-rw-r–r-- 1 root root 2113 2008-01-15 23:31 FXRbSpring.h
-rw-r–r-- 1 root root 2040 2008-01-15 23:31 FXRbStatusBar.h
-rw-r–r-- 1 root root 1905 2008-01-15 23:31 FXRbStatusLine.h
-rw-r–r-- 1 root root 3069 2008-01-15 23:31 FXRbStream.h
-rw-r–r-- 1 root root 273 2008-01-15 23:31 FXRbStreamVirtuals.h
-rw-r–r-- 1 root root 1707 2008-01-15 23:31 FXRbStringDict.h
-rw-r–r-- 1 root root 2047 2008-01-15 23:31 FXRbSwitcher.h
-rw-r–r-- 1 root root 2432 2008-01-15 23:31 FXRbTabBar.h
-rw-r–r-- 1 root root 122 2008-01-15 23:31 FXRbTabBarVirtuals.h
-rw-r–r-- 1 root root 2108 2008-01-15 23:31 FXRbTabBook.h
-rw-r–r-- 1 root root 2057 2008-01-15 23:31 FXRbTabItem.h
-rw-r–r-- 1 root root 21653 2008-01-15 23:31 FXRbTable.h
-rw-r–r-- 1 root root 3395 2008-01-15 23:31 FXRbTableItemVirtuals.h
-rw-r–r-- 1 root root 3738 2008-01-15 23:31 FXRbTableVirtuals.h
-rw-r–r-- 1 root root 2141 2008-01-15 23:31 FXRbTextField.h
-rw-r–r-- 1 root root 8487 2008-01-15 23:31 FXRbText.h
-rw-r–r-- 1 root root 2719 2008-01-15 23:31 FXRbTextVirtuals.h
-rw-r–r-- 1 root root 2069 2008-01-15 23:31 FXRbTGAIcon.h
-rw-r–r-- 1 root root 2046 2008-01-15 23:31 FXRbTGAImage.h
-rw-r–r-- 1 root root 2070 2008-01-15 23:31 FXRbTIFIcon.h
-rw-r–r-- 1 root root 2040 2008-01-15 23:31 FXRbTIFImage.h
-rw-r–r-- 1 root root 2287 2008-01-15 23:31 FXRbToggleButton.h
-rw-r–r-- 1 root root 2010 2008-01-15 23:31 FXRbToolBarGrip.h
-rw-r–r-- 1 root root 2630 2008-01-15 23:31 FXRbToolBar.h
-rw-r–r-- 1 root root 2049 2008-01-15 23:31 FXRbToolBarShell.h
-rw-r–r-- 1 root root 1994 2008-01-15 23:31 FXRbToolBarTab.h
-rw-r–r-- 1 root root 1911 2008-01-15 23:31 FXRbToolTip.h
-rw-r–r-- 1 root root 3554 2008-01-15 23:31 FXRbTopWindow.h
-rw-r–r-- 1 root root 506 2008-01-15 23:31 FXRbTopWindowVirtuals.h
-rw-r–r-- 1 root root 2258 2008-01-15 23:31 FXRbTranslator.h
-rw-r–r-- 1 root root 153 2008-01-15 23:31 FXRbTranslatorVirtuals.h
-rw-r–r-- 1 root root 1381 2008-01-15 23:31 FXRbTreeItemVirtuals.h
-rw-r–r-- 1 root root 2587 2008-01-15 23:31 FXRbTreeListBox.h
-rw-r–r-- 1 root root 136 2008-01-15 23:31 FXRbTreeListBoxVirtuals.h
-rw-r–r-- 1 root root 10396 2008-01-15 23:31 FXRbTreeList.h
-rw-r–r-- 1 root root 1668 2008-01-15 23:31 FXRbTreeListVirtuals.h
-rw-r–r-- 1 root root 2362 2008-01-15 23:31 FXRbTriStateButton.h
-rw-r–r-- 1 root root 2164 2008-01-15 23:31 FXRbVerticalFrame.h
-rw-r–r-- 1 root root 1966 2008-01-15 23:31 FXRbVisual.h
-rw-r–r-- 1 root root 8561 2008-01-15 23:31 FXRbWindow.h
-rw-r–r-- 1 root root 2848 2008-01-15 23:31 FXRbWindowVirtuals.h
-rw-r–r-- 1 root root 2555 2008-01-15 23:31 FXRbWizard.h
-rw-r–r-- 1 root root 2110 2008-01-15 23:31 FXRbXBMIcon.h
-rw-r–r-- 1 root root 2087 2008-01-15 23:31 FXRbXBMImage.h
-rw-r–r-- 1 root root 2059 2008-01-15 23:31 FXRbXPMIcon.h
-rw-r–r-- 1 root root 2036 2008-01-15 23:31 FXRbXPMImage.h
-rw-r–r-- 1 root root 28511 2008-01-15 23:31 FXRuby.h
-rw-r–r-- 1 root root 10106 2008-01-15 23:31 impl.h
-rw-r–r-- 1 root root 37887 2008-01-15 23:31 inlinestubs.h

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/lib:
total 4
drwxr-xr-x 2 root root 4096 2008-01-15 23:31 fox16

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/lib/fox16:
total 584
-rw-r–r-- 1 root root 124984 2008-01-15 23:31 aliases.rb
-rw-r–r-- 1 root root 6444 2008-01-15 23:31 calendar.rb
-rw-r–r-- 1 root root 3245 2008-01-15 23:31 chore.rb
-rw-r–r-- 1 root root 11820 2008-01-15 23:31 colors.rb
-rw-r–r-- 1 root root 18433 2008-01-15 23:31 core.rb
-rw-r–r-- 1 root root 621 2008-01-15 23:31 dict.rb
-rw-r–r-- 1 root root 1974 2008-01-15 23:31 execute_nonmodal.rb
-rw-r–r-- 1 root root 3095 2008-01-15 23:31 glgroup.rb
-rw-r–r-- 1 root root 12040 2008-01-15 23:31 glshapes.rb
-rw-r–r-- 1 root root 1938 2008-01-15 23:31 input.rb
-rw-r–r-- 1 root root 3548 2008-01-15 23:31 irb.rb
-rw-r–r-- 1 root root 8668 2008-01-15 23:31 iterators.rb
-rw-r–r-- 1 root root 56435 2008-01-15 23:31 keys.rb
-rw-r–r-- 1 root root 146612 2008-01-15 23:31 kwargs.rb
-rw-r–r-- 1 root root 545 2008-01-15 23:31 missingdep.rb
-rw-r–r-- 1 root root 1025 2008-01-15 23:31 pseudokeyboard.rb
-rw-r–r-- 1 root root 2266 2008-01-15 23:31 pseudomouse.rb
-rw-r–r-- 1 root root 3603 2008-01-15 23:31 responder2.rb
-rw-r–r-- 1 root root 1793 2008-01-15 23:31 responder.rb
-rw-r–r-- 1 root root 100164 2008-01-15 23:31 scintilla.rb
-rw-r–r-- 1 root root 312 2008-01-15 23:31 settings.rb
-rw-r–r-- 1 root root 2671 2008-01-15 23:31 signal.rb
-rw-r–r-- 1 root root 2086 2008-01-15 23:31 splashscreen.rb
-rw-r–r-- 1 root root 4477 2008-01-15 23:31 timeout.rb
-rw-r–r-- 1 root root 11492 2008-01-15 23:31 undolist.rb
-rw-r–r-- 1 root root 133 2008-01-15 23:31 version.rb

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/rdoc-sources:
total 1120
-rw-r–r-- 1 root root 5359 2008-01-15 23:31 FX4Splitter.rb

-rw-r–r-- 1 root root 2398 2008-01-15 23:31 README.rdoc

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/tests:
total 336
-rw-r–r-- 1 root root 3914 2008-01-15 23:31 blankpage.ps

-rw-r–r-- 1 root root 544 2008-01-15 23:31 TS_All.rb

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/web:
total 28
drwxr-xr-x 2 root root 4096 2008-01-15 23:31 art
-rw-r–r-- 1 root root 4028 2008-01-15 23:31 downloads.html

-rw-r–r-- 1 root root 874 2008-01-15 23:31 top.html

/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.13/web/art:
total 32
-rw-r–r-- 1 root root 8840 2008-01-15 23:31 fxrubylogo.png

-rw-r–r-- 1 root root 838 2008-01-15 23:31 our.gif

On Wed, 16 Jan 2008 08:30:14 -0500, Lyle J. wrote:

On Jan 15, 2008, at 3:35 PM, Len L. wrote:

Sorry, I missed your first question. Rubygems is 0.9.0.

Drat, I should have picked up on this sooner.

Just to close the lid on this. Lyle offered some very valuable
suggestions about upgrading. The final problem was solved by placing
the
statement:

require ‘rubygems’

at the beginning of the script. This did not appear in the book example
presumably because its inclusion was to be understood. With that change
the fox16 object was found and loaded. All is well, apart from my
blushes.

Len

On Jan 17, 2008, at 7:45 AM, Len L. wrote:

change
the fox16 object was found and loaded. All is well, apart from my
blushes.

No blushes necessary. I’ve added a sidebar for the next release of
the beta book that talks about RubyGems configuration and addresses
this problem.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs