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.