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 Jun 18, 2014
1 parent 7c5fd50 commit 371a9e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Commands/Build Target….tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
<string>#!/usr/bin/env ruby18
require ENV["TM_BUNDLE_SUPPORT"] + '/lib/make.rb'
Expand Down
2 changes: 1 addition & 1 deletion Commands/Build.tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
<string>#!/usr/bin/env ruby18
require ENV["TM_BUNDLE_SUPPORT"] + '/lib/make.rb'
Expand Down
2 changes: 1 addition & 1 deletion Commands/Run.tmCommand
Expand Up @@ -7,7 +7,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
<string>#!/usr/bin/env ruby18
require ENV["TM_BUNDLE_SUPPORT"] + '/lib/make.rb'
Expand Down
2 changes: 1 addition & 1 deletion Support/lib/make.rb
@@ -1,4 +1,4 @@
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
#!/usr/bin/env ruby18

require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document"
Expand Down

0 comments on commit 371a9e8

Please sign in to comment.