Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Gem.bin_path LoadError - gem bin directories are not found

Reply
Thread Tools

Gem.bin_path LoadError - gem bin directories are not found

 
 
James Calfee
Guest
Posts: n/a
 
      11-25-2009
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

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.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting LoadError when using ruby and gem Bala Kondepudi Ruby 1 01-29-2009 01:55 PM
Can't install//use the scrubyt gem? LoadError: no such file to load-- parse_tree_reloaded. What did I wrong with installing this gem? kazaam Ruby 1 08-29-2007 02:42 PM
#!/usr/bin/ruby , #!/usr/bin/ruby -w , #!/usr/bin/ruby -T?, #!/usr/bin/ruby -T1... anne001 Ruby 1 04-23-2006 03:02 PM
[GEM PATCH] allow gem to install bin file to different location Ara.T.Howard Ruby 0 10-26-2005 11:52 PM
Multiple bin-directories with virtual directories? =?Utf-8?B?TGFzc2UgTmlsc3Nvbg==?= ASP .Net 0 11-09-2004 05:49 PM



Advertisments