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 7b46fe2 commit 1651ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/Quick Open.tmCommand
Expand Up @@ -29,7 +29,7 @@ fi
#
if [[ `which mdfind` != *"not found" ]]; then
# we have Spotlight
files=`/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby "$TM_BUNDLE_SUPPORT/SpotlightSearch.rb" "$header"`
files=`ruby18 "$TM_BUNDLE_SUPPORT/SpotlightSearch.rb" "$header"`
else
# old method
arr=("/usr/include"
Expand Down

0 comments on commit 1651ca2

Please sign in to comment.