squid icon indicating copy to clipboard operation
squid copied to clipboard

TypeError (no implicit conversion to float)

Open Newbsylberry opened this issue 10 years ago • 3 comments

In development I use ruby 2.1.2, and have no issues with this gem but in production I use rubinius 2.5.2 (2.1.0) and I get the following error:

TypeError (no implicit conversion to float)

I'm getting this error in a few different PDFs I'm trying to generate, any ideas?

Newbsylberry avatar Feb 18 '16 05:02 Newbsylberry

Thanks for trying it with Rubinius! I should add it to Travis :grin:

Meanwhile… could you send the entire stack trace of the error, so I can get an idea of where it is happening? Thanks!

claudiofullscreen avatar Feb 18 '16 05:02 claudiofullscreen

I was able to reproduce the error! See #45

https://travis-ci.org/Fullscreen/squid/jobs/110049740#L282

Do you know more about Rubinius to help me solve it? :bow:

claudiofullscreen avatar Feb 18 '16 06:02 claudiofullscreen

I don't :( sorry, and thanks so much for the quick response. I upgraded to RBX 3.14 and am now getting the following error: *NameError (uninitialized constant ActiveSupport::NumberHelper::NumberConverter) *, this looks to be an issue with RBX and not squid.

Newbsylberry avatar Feb 20 '16 15:02 Newbsylberry