1

When I use Rails with YAML I change boot.rb with

require "yaml"
YAML::ENGINE.yamler = "syck"

It works fine with normal Ruby.

When I transfer the application from Ruby to JRuby, it doesn't work.

Where should I write these lines in JRuby?

Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
jayesh
  • 2,422
  • 7
  • 44
  • 78

1 Answers1

2

Syck is a native gem. a gem that builds native extensions that is. jRuby and native extensions do not mix. Just don't use that syck snippet and your jRuby problem should go away.

ffoeg
  • 2,336
  • 1
  • 14
  • 13