diff --git a/Commands/C & C++ Library Completions.tmCommand b/Commands/C & C++ Library Completions.tmCommand
index 954a9da..ce1d864 100644
--- a/Commands/C & C++ Library Completions.tmCommand
+++ b/Commands/C & C++ Library Completions.tmCommand
@@ -7,7 +7,7 @@
bundleUUID
4675A940-6227-11D9-BFB1-000D93589AF6
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
diff --git a/Commands/C Library Completions.tmCommand b/Commands/C Library Completions.tmCommand
index 2893d25..08c3a74 100755
--- a/Commands/C Library Completions.tmCommand
+++ b/Commands/C Library Completions.tmCommand
@@ -7,7 +7,7 @@
bundleUUID
4675A940-6227-11D9-BFB1-000D93589AF6
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
diff --git a/Commands/Fold:Unfold Code.tmCommand b/Commands/Fold:Unfold Code.tmCommand
index 728adbe..47e80d6 100644
--- a/Commands/Fold:Unfold Code.tmCommand
+++ b/Commands/Fold:Unfold Code.tmCommand
@@ -7,7 +7,7 @@
bundleUUID
4675A940-6227-11D9-BFB1-000D93589AF6
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
line = STDIN.read
$tab = (ENV['TM_SOFT_TABS'] == "NO" ? "\t" : " "*ENV['TM_TAB_SIZE'].to_i )
def join_code s
diff --git a/Commands/Insert Call to Constructors.tmCommand b/Commands/Insert Call to Constructors.tmCommand
index 5554ec6..3027e96 100644
--- a/Commands/Insert Call to Constructors.tmCommand
+++ b/Commands/Insert Call to Constructors.tmCommand
@@ -5,7 +5,7 @@
beforeRunningCommand
nop
command
- #!/usr/bin/env ruby -wKU
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
line = STDIN.read
diff --git a/Commands/Quick Open.plist b/Commands/Quick Open.plist
index 6de0398..a6fb74f 100644
--- a/Commands/Quick Open.plist
+++ b/Commands/Quick Open.plist
@@ -5,7 +5,7 @@
beforeRunningCommand
nop
command
- #!/usr/bin/env ruby -wKU
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
require ENV['TM_SUPPORT_PATH'] + '/lib/textmate.rb'
require ENV['TM_SUPPORT_PATH'] + '/lib/ui.rb'
diff --git a/Commands/Run.tmCommand b/Commands/Run.tmCommand
index 971f468..75646a0 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_SUPPORT_PATH']}/lib/tm/executor"
require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/save_current_document"
diff --git a/Commands/System Header Completion.tmCommand b/Commands/System Header Completion.tmCommand
index 80e69f5..96fbb48 100755
--- a/Commands/System Header Completion.tmCommand
+++ b/Commands/System Header Completion.tmCommand
@@ -5,7 +5,7 @@
beforeRunningCommand
nop
command
- #!/usr/bin/env ruby -wKU
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
diff --git a/Commands/Toggle System:Local Include.tmCommand b/Commands/Toggle System:Local Include.tmCommand
index bf06766..5611dfa 100644
--- a/Commands/Toggle System:Local Include.tmCommand
+++ b/Commands/Toggle System:Local Include.tmCommand
@@ -5,7 +5,7 @@
beforeRunningCommand
nop
command
- #!/usr/bin/env ruby
+ #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
print case str = STDIN.read
when /\A"(.*)"\z/m then "<" + $1 + ">"
diff --git a/Snippets/Include header once only guard.plist b/Snippets/Include header once only guard.plist
index bb27d6b..fa68e87 100644
--- a/Snippets/Include header once only guard.plist
+++ b/Snippets/Include header once only guard.plist
@@ -3,7 +3,7 @@
content
- #ifndef ${1:`#!/usr/bin/env ruby -wKU -riconv
+ #ifndef ${1:`#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU -riconv
name = ENV["TM_FILENAME"] || "untitled"
name = Iconv.iconv("ASCII//TRANSLIT", "UTF-8", name).first
name = name.gsub(/[^a-z0-9]+/i, "_")
diff --git a/Support/bin/headers b/Support/bin/headers
index 7a75f28..78637a2 100755
--- a/Support/bin/headers
+++ b/Support/bin/headers
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby -wKU
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
# == Synopsis
#
# headers: find include headers
diff --git a/Support/bin/insert_missing_includes.rb b/Support/bin/insert_missing_includes.rb
index e2fd949..1751b24 100755
--- a/Support/bin/insert_missing_includes.rb
+++ b/Support/bin/insert_missing_includes.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require 'set'
require "zlib"
diff --git a/Support/c_completion2.rb b/Support/c_completion2.rb
index a5edd03..a1a1f6a 100644
--- a/Support/c_completion2.rb
+++ b/Support/c_completion2.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/exit_codes"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
require "zlib"