FXRuby - require keeps returning false

Oct 16th, 2005

You installed the fxruby gem, installed the FOX GUI library, checked dependencies, compiled and rechecked everything several times again, breaking your head why the ‘quick sanity check’ (require ‘fox14′) as suggested on http://www.fxruby.org/doc/gems.html keeps returning ‘false’ ?

Well, instead of:

require 'rubygems'
require 'fox14'

try this:

require 'rubygems'
require_gem 'fxruby'

Supposedly both should work, but somehow only the ‘require_gem’ way works for me.

…I hope this saves some people some headaches…

  • Share/Bookmark

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.