FXRuby – require keeps returning false

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…

Leave a Reply