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 Dec 27, 2013
1 parent 7174398 commit 33b8897
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Commands/Blame.plist
Expand Up @@ -9,7 +9,7 @@
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
"${TM_SVK:=svk}" blame "$TM_FILEPATH" \
2&gt;&amp;1| ruby -- "${TM_BUNDLE_SUPPORT}/format_blame.rb"</string>
2&gt;&amp;1| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/format_blame.rb"</string>
<key>input</key>
<string>none</string>
<key>inputFormat</key>
Expand Down
4 changes: 2 additions & 2 deletions Commands/Info.plist
Expand Up @@ -10,10 +10,10 @@ FORMAT_INFO="${TM_BUNDLE_SUPPORT}/format_info.rb"
if [[ -z $TM_SELECTED_FILES ]]; then
"$TM_SVK" info "$TM_FILEPATH" \
2&gt;&amp;1| ruby -- "$FORMAT_INFO"
2&gt;&amp;1| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "$FORMAT_INFO"
else
eval "$TM_SVK" info $TM_SELECTED_FILES \
2&gt;&amp;1| ruby -- "$FORMAT_INFO"
2&gt;&amp;1| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "$FORMAT_INFO"
fi</string>
<key>input</key>
<string>none</string>
Expand Down
4 changes: 2 additions & 2 deletions Commands/Log.plist
Expand Up @@ -15,10 +15,10 @@ TM_SVK_LOG_RANGE="${TM_SVK_LOG_RANGE:=BASE:1}"
if [[ -z $TM_SELECTED_FILES ]]; then
"$TM_SVK" log -vr"$TM_SVK_LOG_RANGE" "$TM_FILEPATH" \
2&gt;&amp;1| ruby -- "$FORMAT_LOG"
2&gt;&amp;1| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "$FORMAT_LOG"
else
eval "$TM_SVK" log -vr"$TM_SVK_LOG_RANGE" $TM_SELECTED_FILES \
2&gt;&amp;1| ruby -- "$FORMAT_LOG"
2&gt;&amp;1| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "$FORMAT_LOG"
fi</string>
<key>input</key>
<string>none</string>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Status.plist
Expand Up @@ -8,7 +8,7 @@
<string>export WorkPath="$TM_DIRECTORY"
# show it..
"${TM_SVK:=svk}" status "$WorkPath" 2&gt;&amp;1| ruby -- "${TM_BUNDLE_SUPPORT}/format_status.rb"
"${TM_SVK:=svk}" status "$WorkPath" 2&gt;&amp;1| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -- "${TM_BUNDLE_SUPPORT}/format_status.rb"
</string>
<key>input</key>
<string>none</string>
Expand Down

0 comments on commit 33b8897

Please sign in to comment.