# Gem.bin\_path LoadError - gem bin directories are not found

**URL:** <https://www.ruby-forum.com/t/gem-bin-path-loaderror-gem-bin-directories-are-not-found/179478>\
**Category:** Ruby\
**Created:** [November 25, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/gem-bin-path-loaderror-gem-bin-directories-are-not-found/179478 "2009-11-25T22:42:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![james-calivar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Post date:** [November 25, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/gem-bin-path-loaderror-gem-bin-directories-are-not-found/179478/1 "2009-11-25T22:42:36Z")

</div>

I installed ruby gems and have been working with rails just fine. Now,  
this example (step 6) is giving me trouble:

[http://rails-primer.appspot.com](http://rails-primer.appspot.com)

Step 6 says to run appcfg.rb … That was not in my path. So after some  
searching I found and added this directory to the path:

/var/lib/gems/1.8/bin

Now it is found, but obviously I’m still setup in-correctly because this  
just leads me to a LoadError thrown from a call to Gem.bin\_path …

“no such file to load”

The file it is complaining about is in a ‘bin’ directory nested even  
deeper under another gem in /var/lib/gems. At this point, I probably  
shouldn’t keep adding bin directories to my path. I’m sure that is not  
the answer.

I would really like to see rails working under rails-primer in the App  
Engine. Thanks for the help.
