hayeah / rubish

Ruby Interacive Shell
Other
60 stars 4 forks source link

bin/rubish throws exception for ruby 1.9.2p290 #9

Open fgoepel opened 12 years ago

fgoepel commented 12 years ago

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.