We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am developing a gem for rails reporting 'query_report'. I am getting the following error while running in ruby 2.1.0,
undefined method `deg2rad' for #<BigDecimal:523e010,'0.18E3',9(18)>
The spec runs fine in 1.9.3, fails in 2.1.0. The problem caused for rendering a Pie chart. I am using the prawn '~>1.0.0.rc2'.
The text was updated successfully, but these errors were encountered:
Same for me but not using prawn, when calling this on a pie chart:
g.write(filename)
Gruff throws this error:
NoMethodError: undefined method `deg2rad' for #<BigDecimal:5396f48,'0.1775319377 972191776E2',27(36)> ruby-2.1.0/gems/gruff-0.5.1/lib/gruff/pie.rb:94:in `draw_label' ruby-2.1.0/gems/gruff-0.5.1/lib/gruff/pie.rb:68:in `block in draw' ruby-2.1.0/gems/gruff-0.5.1/lib/gruff/pie.rb:47:in `each' ruby-2.1.0/gems/gruff-0.5.1/lib/gruff/pie.rb:47:in `draw' ruby-2.1.0/gems/gruff-0.5.1/lib/gruff/base.rb:424:in `write'
Sorry, something went wrong.
Hi @ashrafuzzaman @rich311 !
Could you give an example of what you do to get the error? All tests are green for me locally and in travis using Ruby 2.1, 2.2, and 2.3.
Looks like this was fixed in #110 . Closing. Please reopen if it is still a problem.
Hey @donv, #110 fixed it for me, verified a while ago. Thanks for checking!
donv
No branches or pull requests
Hi,
I am developing a gem for rails reporting 'query_report'. I am getting the following error while running in ruby 2.1.0,
The spec runs fine in 1.9.3, fails in 2.1.0. The problem caused for rendering a Pie chart. I am using the prawn '~>1.0.0.rc2'.
The text was updated successfully, but these errors were encountered: