michaelklishin/cucumber.el

rspec-parent-directory

chalmagean opened this issue · 4 comments

when I run C-c ,v in an features buffer I get :

equal: Symbol's function definition is void: rspec-parent-directory

Hi even i am facing the same issue . Any idea how to fix it ??

:) some how opening the web_steps.rb file and than running any feature solves the problem ...

til commented

feature-mode depends on rspec-mode for this, so you need to install https://github.com/pezra/rspec-mode

I was getting this too...

My solution:

  1. Get rspec-mode, per above
  2. Do two autoloads on rspec-mode, one for 'rspec-mode, and another for 'rspec-parent-directory

(I then had other difficulties, but at least this error was gone. Still investigating why the executed rake command isn't working. I'm guessing it's using a different version of rake than I want, but not sure yet.)