Skip to content

Commit

Permalink
Use Ruby 1.8 for bundle commands.
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.
  • Loading branch information
noniq committed Nov 1, 2013
1 parent 86e6f99 commit d4d6285
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Commands/Align Variable Assignments.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
#
# Sass variable block tidier, version 0.2.
#
Expand Down
2 changes: 1 addition & 1 deletion Commands/CodeCompletion CSS Properties.tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>bundleUUID</key>
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
TextmateCodeCompletion.plist('Property Completions')
</string>
Expand Down
2 changes: 1 addition & 1 deletion Commands/CodeCompletion CSS Property Values.tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>bundleUUID</key>
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Property Value Completions'
choices = []
Expand Down
2 changes: 1 addition & 1 deletion Commands/CodeCompletion CSS.tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>bundleUUID</key>
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Completions'
choices = []
Expand Down
2 changes: 1 addition & 1 deletion Commands/Documentation for Property.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
#
# Lookup current word as a CSS property on w3c.org
#
Expand Down
2 changes: 1 addition & 1 deletion Commands/Insert Color….tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>bundleUUID</key>
<string>4675F24E-6227-11D9-BFB1-000D93589AF6</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
prefix, def_col = '#', ''
if STDIN.read =~ /(#?)([0-9A-Fa-f]{6})/ then
Expand Down

0 comments on commit d4d6285

Please sign in to comment.