Re: [jruby-user] How do I fix RuntimeException: callback-style handles are no longer supported in JRuby?

Hassan Schroeder <[email protected]> Wed, 4 Feb 2015 15:03:20 -0800
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CACmC4yDT0scB1J3n5MJeBf6mUa_0aAhXWkP0MirB2VoFwtQ9tQ@mail.gmail.com>
On Wed, Feb 4, 2015 at 7:18 AM, Laura B. <[email protected]> wrote:
> I am using jdk 1.8, but I have errors with the jruby code
> concerning collections and sorting. I had jruby 1.6.3, so I upgraded to
> jruby 1.7.19.  But now I can't run the rake db:migrate command. I get
> this error:
>
> rake aborted!
> load error: fast_xs -- java.lang.RuntimeException: callback-style
> handles are no longer supported in JRuby
>
> So I have 2 questions:
> Which version of jruby should I use with jdk 1.8?

I just tried a combination of Rails 4.1.9, JRuby 1.7.19 on a Centos7
Vagrant box with a freshly downloaded Java version "1.8.0_31".

No problems creating an app and running migrations with the default
SQLite3.

Can you tell us more: OS, Rails version, DB, maybe gist the Gemfile?

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email