cucumber and bundler

33 views
Skip to first unread message

pedz

unread,
Dec 3, 2012, 11:11:00 PM12/3/12
to emacs-o...@googlegroups.com
When I run ^x-t, I get an error which is the same error as if I run "cucumber" from the command line while in the root of my rails project.

The recommended approach (I guess) is to do "rake cucumber" which works for me.  "rake cucumber" executes "bundle exec cucumber" which I can also works from the command line.

So... I'm wondering if cucumber-compilation-executable should execute "bundle exec cucumber" (or rake cucumber since it actually does a lot more).

If I just set it equal to the string "bundle exec cucumber", it doesn't work because it doesn't break that up into words like sh would but tries to execute the command "bundle exec cucumber".  I think making it a list of words won't work either.

All this leads to a more general question: Am I missing something?

I'm not so much afraid of hacking on this but more that I'm making things much harder than it should be.

Any suggestions?

Thank you,
Perry

Reply all
Reply to author
Forward
0 new messages