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 cba1d5b commit 6aa5413
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Commands/Go To Controller.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" controller</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" controller</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Domain Class Test.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" domain_class_test</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" domain_class_test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Domain Class.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" domain_class</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" domain_class</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Service Test.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" service_test</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" service_test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Service.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" service</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" service</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Tag Lib Test.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" taglib_test</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" taglib_test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Tag Lib.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" taglib</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" taglib</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To Test.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" controller_test</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" controller_test</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Go To View.tmCommand
Expand Up @@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>RUBYLIB="$TM_BUNDLE_SUPPORT/lib:$RUBYLIB"
ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" view</string>
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/bin/go_to_alternate_file.rb" view</string>
<key>input</key>
<string>none</string>
<key>keyEquivalent</key>
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/find_test_report.rb
@@ -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/textmate'
require ENV['TM_BUNDLE_SUPPORT'] + '/lib/grails/application'
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/go_to_alternate_file.rb
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

# Copyright:
# (c) 2006 syncPEOPLE, LLC.
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/grailsmate_bootstrap.sh
Expand Up @@ -9,6 +9,6 @@ export TM_GRAILS=`which $TM_GRAILS`
script="$1"
shift

ruby -r GrailsMate -r ui -- "$TM_BUNDLE_SUPPORT/GrailsMate/$script.rb" $@
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -r GrailsMate -r ui -- "$TM_BUNDLE_SUPPORT/GrailsMate/$script.rb" $@

rescan_project

0 comments on commit 6aa5413

Please sign in to comment.