gem fails to load?

R

Roger Pack

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
 
A

Aaron Patterson

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

Roger Pack

[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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top