michaelklishin / cucumber.el

Emacs mode for editing Cucumber plain text stories
None!
253 stars 90 forks source link

Limit the gherkin gem version to prevent load issues #76

Closed mvgijssel closed 5 years ago

mvgijssel commented 6 years ago

Without the upper bound gem version, feature-goto-step-definition fails with something like:

An error occured: 
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:135:in `require': cannot load such file -- gherkin (LoadError)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:39:in `require'
    from /.../.emacs.d/elpa/feature-mode-20170907.748/support/find_step.rb:8:in `<main>'
kylesnowschwartz commented 5 years ago

Me and several people on my team at work were affected by this issue as well. Thanks for making this pull request.

BedfordWest commented 5 years ago

This was very helpful for me, as well - thank you!

michaelklishin commented 5 years ago

Thank you!