<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,13 +5,19 @@
 	&lt;key&gt;beforeRunningCommand&lt;/key&gt;
 	&lt;string&gt;saveActiveFile&lt;/string&gt;
 	&lt;key&gt;command&lt;/key&gt;
-	&lt;string&gt;#!/usr/bin/env ruby
-require ENV['TM_BUNDLE_SUPPORT'] + &quot;/lib/spec/mate&quot;
+	&lt;string&gt;#!/usr/bin/env sh
+cat &amp;lt;&amp;lt;'RUBYEOF' &amp;gt; /tmp/textmate-command-$$.rb
 
+require ENV['TM_BUNDLE_SUPPORT'] + &quot;/lib/spec/mate&quot;
 # Remembers the last _spec.rb file so that 'Run last spec' command 
 # can be activated from any Ruby source file
 
 Spec::Mate::Runner.new.save_as_last_remembered_file ENV['TM_FILEPATH']
+
+RUBYEOF
+
+${TM_RUBY:-ruby} /tmp/textmate-command-$$.rb; exit_status=$?; rm /tmp/textmate-command-$$.rb; exit $exit_status
+
 &lt;/string&gt;
 	&lt;key&gt;input&lt;/key&gt;
 	&lt;string&gt;none&lt;/string&gt;</diff>
      <filename>Commands/Save spec and remember.tmCommand</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>22fbfb6f703889e75a105b09b30286cc25648518</id>
    </parent>
  </parents>
  <author>
    <name>David Whetstone</name>
    <email>david@humblehacker.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-tmbundle/commit/d861dbaf5281eec54422315a9ffdcdfa6a594b84</url>
  <id>d861dbaf5281eec54422315a9ffdcdfa6a594b84</id>
  <committed-date>2009-09-20T03:46:06-07:00</committed-date>
  <authored-date>2009-08-20T14:48:35-07:00</authored-date>
  <message>Made 'Save Example file and remember' command TM_RUBY aware.</message>
  <tree>8b09dda1f876e19016bb52401832ea4793b3877f</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
