Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > gem fails to load?

Reply
Thread Tools

gem fails to load?

 
 
Roger Pack
Guest
Posts: n/a
 
      09-21-2009
Anybody have an idea what's going on here?

$ gem install rogerdpack-live_console
WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and
/usr/local/bin aren't both writable.
Successfully installed rogerdpack-live_console-0.2.2.3
1 gem installed
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'live_console'
LoadError: no such file to load -- live_console
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from (irb):2

installing the "normal" (non githubbed) version of live_console gem and
running "require live_console" works fine, however.

Thanks.
-r
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Aaron Patterson
Guest
Posts: n/a
 
      09-21-2009
On Sep 21, 2009, at 3:36 PM, Roger Pack wrote:

> Anybody have an idea what's going on here?
>
> $ gem install rogerdpack-live_console
> WARNING: Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and
> /usr/local/bin aren't both writable.
> Successfully installed rogerdpack-live_console-0.2.2.3
> 1 gem installed
> $ irb
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> require 'live_console'
> LoadError: no such file to load -- live_console
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> from (irb):2
>
> installing the "normal" (non githubbed) version of live_console gem
> and
> running "require live_console" works fine, however.
>
> Thanks.
> -r


[apatterson@hartammoeller git]$ gem fetch rogerdpack-live_console -s http://gems.github.com/
Downloaded rogerdpack-live_console-0.2.2.3
[apatterson@hartammoeller git]$ gem unpack rogerdpack-
live_console-0.2.2.3.gem
Unpacked gem: '/Users/apatterson/git/rogerdpack-live_console-0.2.2.3'
[apatterson@hartammoeller git]$ tree rogerdpack-live_console-0.2.2.3
rogerdpack-live_console-0.2.2.3
`-- bin
`-- udscat

1 directory, 1 file
[apatterson@hartammoeller git]$

---
Aaron Patterson
http://tenderlovemaking.com





 
Reply With Quote
 
 
 
 
Roger Pack
Guest
Posts: n/a
 
      09-21-2009
> [apatterson@hartammoeller git]$ tree rogerdpack-live_console-0.2.2.3
> rogerdpack-live_console-0.2.2.3
> `-- bin
> `-- udscat


That would explain it. Guess I shouldn't rely on github's building
system to sanity check my gems any more
-r
--
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
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM
gem query finds gem, yet require fails Michael Glaesemann Ruby 5 11-26-2006 02:23 AM
[GEM PATCH] allow gem to install bin file to different location Ara.T.Howard Ruby 0 10-26-2005 11:52 PM
ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rubygems-upodate (> 0) in the repository han Ruby 1 10-24-2005 10:28 PM
[ANN] Getopt-Declare 1.12 (gem/zip) and GGEnv (gem/zip) gga Ruby 0 07-18-2005 03:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57