Installed gem does not load

I am attempting run, in 1.8.6, an fxruby sample called babelfish.rb

babelfish.rb requires a gem called tranexp

I installed the gem and
gem list --local produces (in part)
produces
tranexp (1.0.1)

I, of course, tried to run babelfish.rb.

Of course, it wouldn’t run …


babelfish.rb:4:in `require’: no such file to load – tranexp (LoadError)
from babelfish.rb:4


What would prevent tranexp to load when all other gems load just fine?

I, of course, tried to run babelfish.rb.

Of course, it wouldn’t run …


babelfish.rb:4:in `require’: no such file to load – tranexp (LoadError)
from babelfish.rb:4


What would prevent tranexp to load when all other gems load just fine?

do you have a require ‘rubygems’ in there?
-r

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