Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had a lot of problems getting my CMD-R feature to work, but getting it from the latest master from the Cucumber author, went a long way: </p> <blockquote> <p><a href="https://github.com/aslakhellesoy/cucumber-tmbundle/tree/" rel="nofollow">https://github.com/aslakhellesoy/cucumber-tmbundle/tree/</a></p> </blockquote> <p>For line 10 in this file:</p> <blockquote> <p>/Users/richie/Library/Application Support/TextMate/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb</p> </blockquote> <p>Just comment it out! I didn't have a bundle.environment file anyways. But as written above, definitely change the 'require spec' line if you don't have the Gem. Shame the error messages aren't legible in this thing. </p> <p>And still! There is no longer any "TM_CUCUMBER_BIN" variable, and it turns out that my environment doesn't like "cucumber #{file_name}", but rather "bundle exec cucumber #{file_name}". (Because I also have functioning Rails 2.3.11 environments installed, is why) </p> <p>In </p> <blockquote> <p>~Cucumber.tmbundle/Support/lib/cucumber/mate/runner.rb:</p> </blockquote> <p>Change line 52 from:</p> <blockquote> <pre><code> @output &lt;&lt; %Q{Running: #{full_command = "#{RUBY_BIN} #{command} #{@file.rake_task} #{argv.join(' ')}"} \n} </code></pre> </blockquote> <p>to</p> <blockquote> <pre><code> @output &lt;&lt; %Q{Running: #{full_command = "bundle exec cucumber #{@file.rake_task} #{argv.join(' ')}"} \n} </code></pre> </blockquote> <p>One more thing! I have my feature files nested in various subdirectories, so it had no idea where to pull my step definitions from, despite the fact that a Dir.chdir() is called. So I had to add </p> <blockquote> <p>TM_CUCUMBER_OPTS=-r my_features_dir --format=html</p> </blockquote> <p>to the Preferences=>Advanced=>ShellVariables settings in TextMate. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload