From 9e727705a92f60c2a13f9e051a46b4f2b6aac530 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Sat, 27 Jul 2013 03:11:59 -0500 Subject: [PATCH] Use version 1.8 of ruby for bundle items 10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible. #ignore --- Commands/enum field.tmCommand | 2 +- Commands/struct field.tmCommand | 2 +- Macros/enum field.tmMacro | 2 +- Macros/struct field.tmMacro | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Commands/enum field.tmCommand b/Commands/enum field.tmCommand index 89ddcde..3af3eb6 100644 --- a/Commands/enum field.tmCommand +++ b/Commands/enum field.tmCommand @@ -5,7 +5,7 @@ beforeRunningCommand nop command - #!/usr/bin/env ruby + #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby if ENV['TM_CURRENT_LINE'] =~ /^\s*[\w.]+\s*=\s*(\d+)\s*[,;]?\s*$/ idx = $1.to_i + 1 diff --git a/Commands/struct field.tmCommand b/Commands/struct field.tmCommand index a6abe6c..c609b7f 100644 --- a/Commands/struct field.tmCommand +++ b/Commands/struct field.tmCommand @@ -5,7 +5,7 @@ beforeRunningCommand nop command - #!/usr/bin/env ruby + #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby # this command is intended to be used to generate the struct field macro # the struct field macro is ^E followed by this command. diff --git a/Macros/enum field.tmMacro b/Macros/enum field.tmMacro index 3b695e6..ff80c49 100644 --- a/Macros/enum field.tmMacro +++ b/Macros/enum field.tmMacro @@ -14,7 +14,7 @@ beforeRunningCommand nop command - #!/usr/bin/env ruby + #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby if ENV['TM_CURRENT_LINE'] =~ /^\s*[\w.]+\s*=\s*(\d+)\s*[,;]?\s*$/ idx = $1.to_i + 1 diff --git a/Macros/struct field.tmMacro b/Macros/struct field.tmMacro index 861ddfe..8b19831 100644 --- a/Macros/struct field.tmMacro +++ b/Macros/struct field.tmMacro @@ -14,7 +14,7 @@ beforeRunningCommand nop command - #!/usr/bin/env ruby + #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby # this command is intended to be used to generate the struct field macro # the struct field macro is ^E followed by this command.