Hi, all…I’m helping with the ‘dnsruby’ gem (
GitHub - alexdalitz/dnsruby: Dnsruby is a feature-complete DNS(SEC) client for Ruby, as used by many of the world's largest DNS registries and the OpenDNSSEC project), and have been making sure it
runs
on JRuby.
We recently got a Travis CI error running the tests on JRuby head.
Should
we not be including JRuby head in the versions to test with Travis CI?
The page showing the error is at:
I installed jruby-head using rvm, and whenever I run irb and input
anything, it says:
➜ ~ irb
:001 >
:002 > puts ‘hello’
hello
NoMethodError: undefined method CurrentContext' for #<Class:0x5b2b8d86>::IRB from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/workspace.rb:85:in
evaluate’
from org/jruby/RubyKernel.java:990:in eval' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/workspace.rb:86:in
evaluate’
from
/Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/context.rb:263:in
set_last_value' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/context.rb:379:in
evaluate’
from
/Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb.rb:489:in
eval_input' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb.rb:623:in
signal_status’
from
/Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb.rb:486:in
eval_input' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/ruby-lex.rb:245:in
each_top_level_statement’
from org/jruby/RubyKernel.java:1310:in loop' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/ruby-lex.rb:231:in
each_top_level_statement’
from org/jruby/RubyKernel.java:1120:in catch' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb/ruby-lex.rb:230:in
each_top_level_statement’
from
/Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb.rb:485:in
eval_input' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb.rb:395:in
start’
from org/jruby/RubyKernel.java:1120:in catch' from /Users/kbennett/.rvm/rubies/jruby-head/lib/ruby/stdlib/irb.rb:394:in
start’
from /Users/kbennett/.rvm/rubies/jruby-head/bin/irb:13:in
`script’Maybe IRB bug!
I suspect I should be ignoring jruby-head, expecting it to sometimes be
unstable. Is that the answer?
Thanks,
Keith