From e1d0d6f267d8e3fc35dba92410a9cf6559707864 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Wed, 18 Jun 2014 03:57:28 -0500 Subject: [PATCH] Point to ruby 1.8 shim Using a shim allows us to catch when 1.8 of ruby is not present and provide other options. #ignore --- Commands/Run Script.plist | 2 +- Support/showoutput.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands/Run Script.plist b/Commands/Run Script.plist index b045fb3..84982d2 100644 --- a/Commands/Run Script.plist +++ b/Commands/Run Script.plist @@ -5,7 +5,7 @@ beforeRunningCommand nop command - #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby + #!/usr/bin/env ruby18 require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor" require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document" diff --git a/Support/showoutput.rb b/Support/showoutput.rb index 28bb491..429b72d 100755 --- a/Support/showoutput.rb +++ b/Support/showoutput.rb @@ -1,4 +1,4 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w +#!/usr/bin/env ruby18 -w # #