Skip to content

Commit

Permalink
Documentation lookup now default to ri v1.0.1 (ruby 1.8)
Browse files Browse the repository at this point in the history
This is because the newer version does not support “plain” as format.
  • Loading branch information
sorbits committed Nov 3, 2013
1 parent ace7c4f commit dc20944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/bin/linked_ri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
require "erb"
include ERB::Util

RI_EXE = [ ENV['TM_RUBY_RI'], 'qri', 'ri' ].find { |cmd| !cmd.to_s.empty? && (File.executable?(cmd) || ENV['PATH'].split(':').any? { |dir| File.executable? File.join(dir, cmd) }) ? cmd : false }
RI_EXE = [ ENV['TM_RUBY_RI'], 'qri', '/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ri' ].find { |cmd| !cmd.to_s.empty? && (File.executable?(cmd) || ENV['PATH'].split(':').any? { |dir| File.executable? File.join(dir, cmd) }) ? cmd : false }

term = ARGV.shift

Expand Down

0 comments on commit dc20944

Please sign in to comment.