Gem fails to load?

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

[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]$

···

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

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

[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 :slight_smile:
-r

···

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