patch – Tea-Driven Development https://blog.mattwynne.net Matt Wynne taking it one tea at a time Wed, 21 Aug 2019 12:58:30 +0000 en-US hourly 1 https://wordpress.org/?v=6.2 165828820 Fix RubyMine 2.02 Cucumber Integration https://blog.mattwynne.net/2010/08/25/fix-rubymine-2-02-cucumber-integration/ https://blog.mattwynne.net/2010/08/25/fix-rubymine-2-02-cucumber-integration/#respond Wed, 25 Aug 2010 18:55:07 +0000 http://blog.mattwynne.net/2010/08/25/fix-rubymine-2-02-cucumber-integration/ Continue reading "Fix RubyMine 2.02 Cucumber Integration"

]]>
If you’re using the latest version of RubyMine (2.0.2) with the latest version of Cucumber (actually anything above 0.7), you’ll probably see this ugly warning when you try to run your cukes from within the IDE:

screen-shot-of-rubymine-error

The bug has been logged, and there’s a published workaround, but I wanted something a bit easier to use.

Try this instead. Close RubyMine, open a terminal, and run this command:

curl http://gist.github.com/raw/550046/240dd98b8b0ed1efa817f26ff2697940ddd0f53d/rubymine-2.02-cucumber.patch | patch -p0

or even

curl -L http://bit.ly/bPNmYV | patch -p0

It won’t work with Cucumbers older than 0.7, but why would you want to use them?

Update: If you like life on the bleeding edge, you can also try the EAP release (latest development build) of the forthcoming RubyMine 2.5, which contains this fix.

]]>
https://blog.mattwynne.net/2010/08/25/fix-rubymine-2-02-cucumber-integration/feed/ 0 242