Permalink
Browse files

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
  • Loading branch information...
1 parent 04b5687 commit 9e727705a92f60c2a13f9e051a46b4f2b6aac530 @infininight infininight committed Jul 27, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 Commands/enum field.tmCommand
  2. +1 −1 Commands/struct field.tmCommand
  3. +1 −1 Macros/enum field.tmMacro
  4. +1 −1 Macros/struct field.tmMacro
@@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>#!/usr/bin/env ruby
+ <string>#!/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
@@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>#!/usr/bin/env ruby
+ <string>#!/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.
@@ -14,7 +14,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>#!/usr/bin/env ruby
+ <string>#!/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
@@ -14,7 +14,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
- <string>#!/usr/bin/env ruby
+ <string>#!/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.

0 comments on commit 9e72770

Please sign in to comment.