Skip to content

Commit

Permalink
Use version 1.8 of ruby for bundle items
Browse files Browse the repository at this point in the history
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
infininight committed Jul 27, 2013
1 parent 04b5687 commit 9e72770
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Commands/enum field.tmCommand
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Commands/struct field.tmCommand
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Macros/enum field.tmMacro
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Macros/struct field.tmMacro
Expand Up @@ -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.
Expand Down

0 comments on commit 9e72770

Please sign in to comment.