Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix patch (diff was created incorrectly)

  • Loading branch information...
commit 49b380f2479504c70222644e2444931891c352ea 1 parent c0e02e0
Norman/Thies authored
Showing with 19 additions and 19 deletions.
  1. +19 −19 textmate.patch
View
38 textmate.patch
@@ -1,25 +1,25 @@
---- /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb 2010-10-24 15:18:39.000000000 +0200
-+++ /tmp/run_script.rb 2010-10-24 15:18:37.000000000 +0200
-@@ -90,22 +90,6 @@
+--- run_script.rb.orig 2010-10-25 09:23:45.000000000 +0200
++++ run_script.rb 2010-10-25 09:24:06.000000000 +0200
+@@ -90,6 +90,22 @@
return path, '', path
end
--def snailgun_socket
-- Pathname.new(Dir.pwd).ascend do |path|
-- if File.exists?(path.join("config", "boot.rb"))
-- if File.exists?(path.join("tmp", "sockets", "snailgun", "test"))
-- return path.join("tmp", "sockets", "snailgun", "test").to_s
-- end
-- end
-- end
-- nil
--end
--
--if socket = snailgun_socket
-- ENV['SNAILGUN_SOCK'] = socket
-- cmd[0] = 'fruby'
--end
--
++def snailgun_socket
++ Pathname.new(Dir.pwd).ascend do |path|
++ if File.exists?(path.join("config", "boot.rb"))
++ if File.exists?(path.join("tmp", "sockets", "snailgun", "test"))
++ return path.join("tmp", "sockets", "snailgun", "test").to_s
++ end
++ end
++ end
++ nil
++end
++
++if socket = snailgun_socket
++ ENV['SNAILGUN_SOCK'] = socket
++ cmd[0] = 'fruby'
++end
++
TextMate::Executor.run( cmd, :version_args => ["--version"],
:script_args => args ) do |line, type|
if is_test_script and type == :out
Please sign in to comment.
Something went wrong with that request. Please try again.