Skip to content

bin/rubish throws exception for ruby 1.9.2p290 #9

@fgoepel

Description

@fgoepel

When trying to start rubish usig ruby 1.9.2p290 I get the following exception:

$ rubish   
/opt/ruby/lib/ruby/gems/1.9.1/gems/rubish-0.1.0/lib/rubish/stub.rb:71: warning: undefining `object_id' may cause serious problems
/opt/ruby/lib/ruby/1.9.1/irb/input-method.rb:108:in `initialize': undefined method `conf' for IRB:Module (NoMethodError)
    from /opt/ruby/lib/ruby/gems/1.9.1/gems/rubish-0.1.0/lib/rubish/repl.rb:16:in `new'
    from /opt/ruby/lib/ruby/gems/1.9.1/gems/rubish-0.1.0/lib/rubish/repl.rb:16:in `repl'
    from /opt/ruby/lib/ruby/gems/1.9.1/gems/rubish-0.1.0/lib/rubish/repl.rb:5:in `repl'
    from /opt/ruby/lib/ruby/gems/1.9.1/gems/rubish-0.1.0/lib/rubish/stub.rb:12:in `repl'
    from /opt/ruby/lib/ruby/gems/1.9.1/gems/rubish-0.1.0/bin/rubish:5:in `<top (required)>'
    from /opt/ruby/bin/rubish:19:in `load'

It seems to work when started with Rubish.repl from irb though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions