New issue
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
undefined method 'each_with_index' on Rails 5.0.3 with JRuby #533
Comments
I've confirmed that axlsx/lib/axlsx/util/simple_typed_list.rb Line 158 in d136835
|
Something else: Array.instance_methods contains each_with_index in plain irb. Only inside Rails 5 does it not show up. Now the question is if 5.1 is any different. |
Confirmed each_with_index is also missing in Rails 5.1, and present with MRI. Rails issue: rails/rails#29329 |
For a given Rails app. In Array.include Enumerable This seems rather unnecessary. But it does work. |
Came across this issue when upgrading from Rails 4.2.8 to Rails 5.0.3 on JRuby 9.1.10.0.
Duplicated it from Rails console:
Swapped out JRuby for MRI 2.3.4 and problem disappeared.
My Gemfile (before and after Rails upgrade):
Originally opened caxlsx/caxlsx_rails#83 but it seems like it comes from axlsx gem.
The text was updated successfully, but these errors were encountered: