Skip to content

Commit

Permalink
Point to ruby 1.8 shim
Browse files Browse the repository at this point in the history
Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.

#ignore
  • Loading branch information
infininight committed Jan 28, 2016
1 parent d69fcc8 commit 8e7659b
Show file tree
Hide file tree
Showing 87 changed files with 87 additions and 87 deletions.
2 changes: 1 addition & 1 deletion Commands/Add Import.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/c_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/Auto Complete Imports.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/c_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/Class Templates.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_SUPPORT_PATH'] + '/lib/escape'
require ENV['TM_SUPPORT_PATH'] + '/lib/exit_codes'
Expand Down
2 changes: 1 addition & 1 deletion Commands/Getter Setter.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>saveActiveFile</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = "#{ENV['TM_SUPPORT_PATH']}"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Insert Color….tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
require ENV['TM_SUPPORT_PATH'] + "/lib/ui"
require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Insert Comment Header.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
copyright_holder = ENV['TM_ORGANIZATION_NAME'] || ENV['TM_FULLNAME']
year = ENV['TM_YEAR'] || `date "+%Y"`.chop
Expand Down
2 changes: 1 addition & 1 deletion Commands/List Compiler Config Nodes.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
require 'rexml/document'
require ENV['TM_SUPPORT_PATH'] + '/lib/ui'
Expand Down
2 changes: 1 addition & 1 deletion Commands/List Imported Types.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = "#{ENV['TM_SUPPORT_PATH']}"
Expand Down
2 changes: 1 addition & 1 deletion Commands/List Private Properties.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
# Searches the current document for privately declared variables
# and presents them to the user for selection.
Expand Down
2 changes: 1 addition & 1 deletion Commands/Metadata.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = "#{ENV['TM_SUPPORT_PATH']}"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Open flex-config_xml.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# The reason for this is so that .textmate_init is sourced, which allows the SDK class
# pick up the flex sdk if the user has added it's bin to their $PATH.
ruby &lt;&lt;-'RUBY'
ruby18 &lt;&lt;-'RUBY'
require ENV['TM_BUNDLE_SUPPORT']+'/lib/fm/sdk'
FlexMate::SDK.open_flex_config
Expand Down
2 changes: 1 addition & 1 deletion Commands/Open___.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/c_env'
word = ENV['TM_CURRENT_WORD']
Expand Down
2 changes: 1 addition & 1 deletion Commands/Remove Unused Imports .tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
# Please be aware of the following TODO's with this command:
#
Expand Down
2 changes: 1 addition & 1 deletion Commands/asdoc.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
require ENV['TM_BUNDLE_SUPPORT']+'/lib/c_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/asdoc_at_tag.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = "#{ENV['TM_SUPPORT_PATH']}"
Expand Down
2 changes: 1 addition & 1 deletion Commands/banner.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = ENV['TM_SUPPORT_PATH']
DIALOG = SUPPORT + '/bin/tm_dialog'
Expand Down
2 changes: 1 addition & 1 deletion Commands/class.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/final function.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/function.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/get.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/import.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = "#{ENV['TM_SUPPORT_PATH']}"
Expand Down
2 changes: 1 addition & 1 deletion Commands/interface.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/new.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT'] + '/lib/c_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/override function.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/package.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/add_lib'
require 'as3/source_tools'
Expand Down
2 changes: 1 addition & 1 deletion Commands/private.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/protected.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/public.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/set.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/static.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
require ENV['TM_BUNDLE_SUPPORT']+'/lib/snip_env'
Expand Down
2 changes: 1 addition & 1 deletion Commands/trace.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/usr/bin/env ruby18
line_number = ENV['TM_LINE_NUMBER'].to_i-1
class_name = File.basename(ENV['TM_FILENAME'],".as")
Expand Down
2 changes: 1 addition & 1 deletion Commands/unicodeRange.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU
SUPPORT = "#{ENV['TM_SUPPORT_PATH']}"
Expand Down
2 changes: 1 addition & 1 deletion DragCommands/Subclass.tmDragCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU

# Create a class level block that inherits from the dropped file.

Expand Down
2 changes: 1 addition & 1 deletion DragCommands/asdoc-swf-description.tmDragCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU

require ENV["TM_BUNDLE_SUPPORT"]+"/lib/as3/parsers/swf"

Expand Down
2 changes: 1 addition & 1 deletion DragCommands/implement interface.tmDragCommand
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>command</key>
<string>#!/usr/bin/env ruby -wKU
<string>#!/usr/bin/env ruby18 -wKU

# Scans Interfaces and automatically generates
# an implementation from the class.
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/as3_template_parser.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU
# encoding: utf-8

require File.expand_path(File.dirname(__FILE__)) + '/../lib/add_lib'
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/as_docs.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU
# encoding: utf-8

scope = ENV['TM_SCOPE']
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/build.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

require ENV['TM_SUPPORT_PATH'] + '/lib/escape'
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/complete.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

require ENV['TM_BUNDLE_SUPPORT'] + '/lib/c_env'
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/parse_fcsh_output.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU
# encoding: utf-8

SUPPORT = ENV['TM_SUPPORT_PATH']
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/parse_mxmlc_out.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU
# encoding: utf-8

#NOTE: Keep for legacy reasons. Users could be using this to pipe output to.
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/run.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

SUPPORT = ENV['TM_SUPPORT_PATH']
Expand Down
2 changes: 1 addition & 1 deletion Support/generate/compiler_config.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU

################################################################################
#
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/add_lib.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU
# encoding: utf-8

# This adds our path to rubys lookup list. So wherever we require items from
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/as3/completions_list.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby -wKU
#!/usr/bin/env ruby18 -wKU
# encoding: utf-8

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/as3/parsers/class_parser.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/as3/parsers/config.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/as3/parsers/manifest.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/as3/parsers/mxml.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# encoding: utf-8

################################################################################
Expand Down
Loading

0 comments on commit 8e7659b

Please sign in to comment.