Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use version 1.8 of ruby for bundle items #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Commands/Compile.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::go "build", :verb =&gt; "Compiling"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Complete.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 -Ku
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -Ku
require ENV['TM_SUPPORT_PATH'] + '/lib/ui.rb'
require ENV['TM_SUPPORT_PATH'] + "/lib/escape.rb"
require ENV['TM_SUPPORT_PATH'] + "/lib/tm/require_cmd.rb"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Documentation for Word : Selection.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::godoc
Expand Down
2 changes: 1 addition & 1 deletion Commands/Reformat Document.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::gofmt
Expand Down
2 changes: 1 addition & 1 deletion Commands/Run.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::go "run", :verb =&gt; "Running"
Expand Down
2 changes: 1 addition & 1 deletion Commands/Test.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>beforeRunningCommand</key>
<string>saveModifiedFiles</string>
<key>command</key>
<string>#!/usr/bin/env ruby
<string>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

require "#{ENV['TM_BUNDLE_SUPPORT']}/gomate"
Go::go "test", :verb =&gt; "Testing"
Expand Down
2 changes: 1 addition & 1 deletion Support/gomate.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

require "#{ENV['TM_SUPPORT_PATH']}/lib/escape"
require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
Expand Down