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 3ad7bbe commit 12736e8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Commands/CodeCompletion CSS 2.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/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"
TextmateCodeCompletion.plist('Property Completions')
</string>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Documentation for Property.plist
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.plist
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKu
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKu
# encoding: UTF-8
require ENV['TM_SUPPORT_PATH'] + "/lib/ui"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Preview.plist
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
LIPSUM = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
Expand Down
2 changes: 1 addition & 1 deletion Commands/Validate Selected CSS.plist
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
print '&lt;html&gt;&lt;head&gt;&lt;meta http-equiv="Refresh" content="0; URL='
print 'http://jigsaw.w3.org/css-validator/validator?warning=1&amp;profile=none&amp;usermedium=all&amp;text='
Expand Down

0 comments on commit 12736e8

Please sign in to comment.