Florian Frank

Results 19 comments of Florian Frank

forego execs the command now, so this issue can be closed, I think.

Fixnum already has an implementation of the to_json method via its superclass Integer. I cannot reproduce your problem. Can you provide more information like json and ruby versions, platforms, etc.,...

Apparently rails4 breaks this by first overwriting the methods JSON gem set up to generate JSON and then not passing along any of the original options into their encoder classes...

Can you tell me what actually happened? JRuby is still supported: ``` (flori@workhorse:tins [master] ☯ ↳130)$ ruby -v -S rake 2>&1 | grep -E '100%|jruby 9' jruby 9.0.5.0 (2.2.3) 2016-01-26...

Can you provide the data which caused this error?

Unfortunately in Ruby Mixins cannot be unincluded, so I cannot avoid this error. Maybe using refinements can be used as an alternative approach. I remember trying this once, but there...

I cannot reproduce this problem: ``` jruby-1.6.7.2 :090 > require 'json' => true jruby-1.6.7.2 :010 > JSON.generator => JSON::Ext::Generator jruby-1.6.7.2 :011 > JSON::VERSION => "1.7.3" jruby-1.6.7.2 :012 > RUBY_DESCRIPTION =>...

Ah, that's interesting. It could be the load, does parse work instead?

Ok, I am trying to reproduce this again when I am at a real Computer.

I tried "my" example from above and it works here: ``` (flori@silverblade:gh [master] ☯@gh ->0)$ jruby --1.9 -S irb jruby-1.6.7.2 :001 > require 'json' => true jruby-1.6.7.2 :002 > x...