Actually I found the issue and it has nothing to do with Textmate though I wonder. I need to find the cmd+R command for the bundle and change it to run "bundle exec cucumber" instead of "cucumber"
Thanks Allan
Mikael Henriksson
Tel: +46 (0) 730- 393 200 mikael@zoolutions.se
On Sun, Jan 2, 2011 at 7:50 PM, Allan Odgaard mailinglist@textmate.orgwrote:
On 25 Dec 2010, at 18:53, Mikael Henriksson wrote:
I try to run a feature with cmd+R and it gives me the following message:
:29:in `require': no such file to load -- spec (LoadError) from :29:in `require' from /Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:23
[…] The RSpec specs work fine it's just my features that don't run. I hate having to switch to console to do this. Any suggestions?
I am not familiar with the Cucumber bundle, but from the error you quote it seems that it requires a file which is probably not present for the standard ruby.
You will have to dig into the source code for the bundle to learn more about which files it require.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate