irb not working in stable snapshot

Discussion in 'Ruby' started by s@xss.de, Feb 12, 2006.

  1. Guest

    Look what I have here:

    zeus:~ # ruby -v
    ruby 1.8.4 (2006-02-12) [i686-linux]

    zeus:~ # irb -v
    irb 0.9.5(05/04/13)

    zeus:~ # irb
    /usr/local/lib/ruby/1.8/irb/workspace.rb:52: undefined method
    `irb_binding' for main:Object (NoMethodError)

    The line in question is

    @binding = eval("def irb_binding; binding; end; irb_binding",
    TOPLEVEL_BINDING,
    __FILE__,
    __LINE__ - 3)

    which worked in the Christmas release I am running on the other system.

    s.
    , Feb 12, 2006
    #1
    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. Hal Fulton

    Stable snapshot link

    Hal Fulton, Sep 5, 2003, in forum: Ruby
    Replies:
    0
    Views:
    82
    Hal Fulton
    Sep 5, 2003
  2. Iouri Kloubakov
    Replies:
    4
    Views:
    114
    Aleksei Guzev
    Oct 13, 2003
  3. Randy Lawrence

    stable-snapshot = Ruby 1.8.2

    Randy Lawrence, May 23, 2004, in forum: Ruby
    Replies:
    0
    Views:
    104
    Randy Lawrence
    May 23, 2004
  4. Mike Stok
    Replies:
    0
    Views:
    103
    Mike Stok
    Oct 3, 2004
  5. Ruby Noob
    Replies:
    2
    Views:
    128
    Yukihiro Matsumoto
    Oct 27, 2004
Loading...

Share This Page