gem fails to load?

Discussion in 'Ruby' started by Roger Pack, Sep 21, 2009.

  1. Roger Pack

    Roger Pack Guest

    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/.
     
    Roger Pack, Sep 21, 2009
    #1
    1. Advertising

  2. 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
     
    Aaron Patterson, Sep 21, 2009
    #2
    1. Advertising

  3. Roger Pack

    Roger Pack Guest

    > [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/.
     
    Roger Pack, Sep 22, 2009
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. gga
    Replies:
    0
    Views:
    153
  2. han
    Replies:
    1
    Views:
    130
    Lyle Johnson
    Oct 24, 2005
  3. Ara.T.Howard
    Replies:
    0
    Views:
    182
    Ara.T.Howard
    Oct 27, 2005
  4. Michael Glaesemann

    gem query finds gem, yet require fails

    Michael Glaesemann, Nov 12, 2006, in forum: Ruby
    Replies:
    5
    Views:
    169
    Michael Glaesemann
    Nov 26, 2006
  5. Austin 7873
    Replies:
    5
    Views:
    206
    Eric Hodel
    Jan 27, 2007
Loading...

Share This Page