(Support request #81145)
I have problems with support for non-english language Cucumber / Gherkin scenarios in Ruby Mine 7.0.4 for OSX.
For example highlighting, jump to declaration and auto complete works for English, but not always for Swedish. (Making RubyMine feel more like just a fancy text editor).
I believe it is related to versions of Cucumber 2.1 vs 2.0.2 and the required gems.
My best guess is the issue is related to their usage of Gherkin3 vs Gherkin (2.X).
Executing the Swedish scenarios from OSX terminal works with either version, so I guess the problem is in RubyMine.
Things that make this interesting:
- When starting a new project it works OK without any gemfile (Both Cucumber 2.1 and 2.0.2 are installed on the system, so should default to newest?)
In a new project it works OK with Cucumber 2.0.2 as the only requirement in gemfile
- Does not work with Cucumber 2.1 after updating the gemfile
- After downgrading Cucumber to 2.0.2 it works OK again.
Does not work with Cucumber 2.1 for me in a big multi developer project using its Gemfile. With or without the versioned Gemfile.lock. (Both are attached. Cucumber 2.1 is used, recently upgraded from 2.0.2)
But does work for other coworkers. (A detail is I downgraded from RubyMine 8.0 to 7.1.4 to 7.0.4, they probably did not upgrade from RubyMine 7.0.4)
But does not work with Cucumber 2.0.2 when downgrading the Gemfile, (and updating bundle to renew Gemfile.lock) or even completely removing the Gemfile.lock
[UPDATE: Going back to this I am confused by that I wrote not working, wit 2.0.2 now it does work fine when downgrading and repoening project]
RubyMine version 7.0.4 (Since later versions still have other problems with Cucumber support.)
Mac OSX 10.11.1
Attached is a small Swedish feature file.
Any help with getting RubyMine to recognize my large library of Swedish features or tips on how to handle the gem versioning for this would be much appreciated!
# language en
# language sv