# Installed gem does not load

**URL:** <https://rubytalk.org/t/installed-gem-does-not-load/59966>\
**Category:** ruby-talk\
**Created:** [7 September 2010 20:11 UTC](https://rubytalk.org/t/installed-gem-does-not-load/59966 "2010-09-07T20:11:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ralph\_Shnelvar](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Ralph\_Shnelvar](https://rubytalk.org/u/Ralph_Shnelvar)\
**Post date:** [7 September 2010 20:11 UTC](https://rubytalk.org/t/installed-gem-does-not-load/59966/1 "2010-09-07T20:11:49Z")

</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  
&nbsp;&nbsp;gem list --local produces (in part)  
produces  
&nbsp;&nbsp;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:** ![Roger\_Pack4](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Roger\_Pack4](https://rubytalk.org/u/Roger_Pack4)\
**Post date:** [8 September 2010 03:47 UTC](https://rubytalk.org/t/installed-gem-does-not-load/59966/2 "2010-09-08T03:47:40Z")

</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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
