require': cannot load such file -- gherkin (LoadError)
newmizanur opened this issue · 2 comments
newmizanur commented
Cannot run rspec getting gherkin (LoadError)
I'm trying to run rspec but getting load error which raising like bellow. Done gem install gherkin, gem install cucumber and added -r turnip/rspec to .rspec but not worked.
.rvm/gems/ruby-2.0.0-p648/gems/turnip-1.3.1/lib/turnip/builder.rb:1:in
require': cannot load such file -- gherkin (LoadError)
from /home/mizan/.rvm/gems/ruby-2.0.0-p648/gems/turnip-1.3.1/lib/turnip/builder.rb:1:in <top (required)>'
gongo commented
Hi @newmizanur
- What version of
gherkin
did you install?turnip-1.3.1
only works ingherkin 2.x
. turnip-1.3.1
is very old. Please use one of the following:- ver 3.x (beta)
- ver 2.1.1 (current stable)
- ver 2.0.2 (support to Ruby 2.0)
newmizanur commented
Thanks turnip 1.3.1 worked with gherkin 2.5 ! 👍