Closed yarmiganosca closed 6 years ago
I still have no idea what's wrong with the Travis runs for JRuby.
I am happy to look into jRuby failure tonight or sometime tomorrow
@yarmiganosca It appears that simplecov
isn't working well with jRuby. Maybe you can consider doing the as suggested in https://stackoverflow.com/a/45873770/198616 to get more detailed info on why?
Under jruby 9.1.2 I can run bundle exec rake
locally with an exit 1 as well. So I can debug locally. Will do so when I am free next week
Ok, I think I figured it out. JRuby seems to have a problem with this syntax (which I didn't know was a thing), and guess what? Capybara uses that syntax in exactly the file we have problems with: https://github.com/teamcapybara/capybara/blob/master/lib/capybara/node/actions.rb#L310-L331
Given that capybara is only a development dependency for spinach, using a newer version of JRuby which can parse heredocs with quotes (and is therefore compatible with capybara) doesn't actually impact our users.
lol. oh wow nice finding! Yeah I agree we can update ruby version
As mentioned in #196, here's a version bump PR. I'm not sure if any other tasks need doing before a release, but if you tell me what they are, I'll be happy to do them!