-
Notifications
You must be signed in to change notification settings - Fork 93
Ruby 2.4 #498
Comments
This is unfortunately a blocker for downstream projects. Could someone take a look real quick? |
I'm taking a look at this now. |
I've got a branch at https://github.com/projectcypress/health-data-standards/tree/ruby_24 if you want to give it a try. |
Trying it out... |
Running unit tests I got:
|
Odd. I've run the tests a few times, and have gotten no failures/errors (the skips are expected). Can you post the tests that are failing? |
Sure... however, pointing my project at this branch seems to work --- i.e. I can export C-CDA. |
Looking at the stack trace, it seems to have to do with Mongoid version incompatibility. Strangely, the C-CDAs still export.
|
Weird. I'm using |
Maybe try recompiling/reinstalling the driver gem? I've had issues with natively-compiled drivers and rvm after system upgrades in the past. |
@okeefm Just checking in if any other clues have come up? I'm on macOS 10.12.x and have this error on multiple machines. |
@preston can you confirm which version of Ruby 2.4 you're using? |
I've tried both. |
Odd. This ticket seems to suggest it was an issue in Ruby 2.4.0, which was fixed in 2.4.1. I will continue investigating. DatabaseCleaner/database_cleaner#466 |
Ok, I'm going to try completely reinstalling/recompiling my installation then. @jawalonoski: are you still seeing this on Ruby 2.4.1? |
I'm also going to try installing 2.4.0 to see if I can reproduce. |
I am seeing the errors above when I run the test suite with |
Same issue after reinstalling. Upon closer inspection it looks like there are numerous issues related to some really outdated dependencies in both the Gemfile and .gemspec. It looks like mongoid v4.x pegs activesupport to 4.x as well, and updating to the current v6.x release ends up requiring stuff that protected_attributes doesn't support. Using mongoid v5.x as a stepping stone seem to be make the dependency tree happy, however, and also seems to pass the unit tests. I'll submit a PR shortly (as well as an updated .travis.yml) that I think should help. :) |
@jawalonoski This PR fixes my downstream issue with synthea at synthetichealth/synthea#200 when using my health-data-standards branch at https://github.com/preston/health-data-standards . I'll submit a synthea PR to use the alternate branch for now. |
Please add Ruby 2.4 support.
This gem does not build with Ruby 2.4, due to out of date dependencies, and the deprecation of
Fixnum
andBignum
within Ruby 2.4.The text was updated successfully, but these errors were encountered: