iconara / mikka

JRuby wrapper for Akka
107 stars 14 forks source link

NoMethodError: undefined method `downcase' for :Scala:Symbol #1

Closed rb2k closed 13 years ago

rb2k commented 13 years ago

Just did a git clone and wanted to run the simple example:

NoMethodError: undefined method `downcase' for :Scala:Symbol
      (root) at /Users/mseeger/mikka/lib/ext/scala.rb:24
  initialize at org/jruby/RubyModule.java:1810
      (root) at /Users/mseeger/mikka/lib/ext/scala.rb:23
        call at org/jruby/RubyProc.java:268
        call at org/jruby/RubyProc.java:228
      (root) at /Users/mseeger/mikka/lib/ext/scala.rb:38
     require at org/jruby/RubyKernel.java:1038
      (root) at /Users/mseeger/mikka/lib/ext/scala.rb:13
     require at org/jruby/RubyKernel.java:1038
      (root) at /Users/mseeger/mikka/lib/akka.rb:4
     require at org/jruby/RubyKernel.java:1038
      (root) at simple_example.rb:5

p.s. looking forward to work with mikka!

iconara commented 13 years ago

Mikka only runs in 1.9 mode. Set JRUBY_OPTS='--1.9' or run with ruby --1.9. I wish it was the default.

iconara commented 13 years ago

I've added a note about this to the readme too.