diff --git a/Commands/Compile.tmCommand b/Commands/Compile.tmCommand
index 970fff1..a1f637a 100644
--- a/Commands/Compile.tmCommand
+++ b/Commands/Compile.tmCommand
@@ -7,7 +7,7 @@
beforeRunningCommand
saveModifiedFiles
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::go "build", :verb => "Compiling"
diff --git a/Commands/Complete.tmCommand b/Commands/Complete.tmCommand
index 9a9aa72..778fdff 100644
--- a/Commands/Complete.tmCommand
+++ b/Commands/Complete.tmCommand
@@ -5,7 +5,7 @@
beforeRunningCommand
saveActiveFile
command
- #!/usr/bin/env ruby -Ku
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ku
require ENV['TM_SUPPORT_PATH'] + '/lib/ui.rb'
require ENV['TM_SUPPORT_PATH'] + "/lib/escape.rb"
require ENV['TM_SUPPORT_PATH'] + "/lib/tm/require_cmd.rb"
diff --git a/Commands/Documentation for Word : Selection.tmCommand b/Commands/Documentation for Word : Selection.tmCommand
index d835f68..a1fc0da 100644
--- a/Commands/Documentation for Word : Selection.tmCommand
+++ b/Commands/Documentation for Word : Selection.tmCommand
@@ -5,7 +5,7 @@
beforeRunningCommand
saveModifiedFiles
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::godoc
diff --git a/Commands/Reformat Document.tmCommand b/Commands/Reformat Document.tmCommand
index 6229c9a..1c35202 100644
--- a/Commands/Reformat Document.tmCommand
+++ b/Commands/Reformat Document.tmCommand
@@ -5,7 +5,7 @@
beforeRunningCommand
saveModifiedFiles
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::gofmt
diff --git a/Commands/Run.tmCommand b/Commands/Run.tmCommand
index ae257b7..a609422 100644
--- a/Commands/Run.tmCommand
+++ b/Commands/Run.tmCommand
@@ -7,7 +7,7 @@
beforeRunningCommand
saveModifiedFiles
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::go "run", :verb => "Running"
diff --git a/Commands/Test.tmCommand b/Commands/Test.tmCommand
index c5be8aa..35458ea 100644
--- a/Commands/Test.tmCommand
+++ b/Commands/Test.tmCommand
@@ -7,7 +7,7 @@
beforeRunningCommand
saveModifiedFiles
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::go "test", :verb => "Testing"
diff --git a/Support/gomate.rb b/Support/gomate.rb
index 6c2b5a2..42f28f6 100755
--- a/Support/gomate.rb
+++ b/Support/gomate.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"