# Installed gem does not load

**URL:** <https://www.ruby-forum.com/t/installed-gem-does-not-load/194608>\
**Category:** Ruby\
**Created:** [September 7, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/installed-gem-does-not-load/194608 "2010-09-07T22:12:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [September 7, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/installed-gem-does-not-load/194608/1 "2010-09-07T22:12:43Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [September 8, 2010, 5:47am UTC](https://www.ruby-forum.com/t/installed-gem-does-not-load/194608/2 "2010-09-08T05:47:38Z")

</div>

> 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
