diff --git a/Library/Homebrew/ARGV+yeast.rb b/Library/Homebrew/ARGV+yeast.rb index 02c35e5a15..0f104f1df6 100644 --- a/Library/Homebrew/ARGV+yeast.rb +++ b/Library/Homebrew/ARGV+yeast.rb @@ -100,6 +100,7 @@ Commands: Commands useful when contributing: log formula create URL + edit [formula] To visit the Homebrew homepage type: brew home diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 008d5663c2..fb50e2271f 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -11,14 +11,14 @@ def text_for_keg_only_formula f #{f.name} is keg-only. This means it is not symlinked into Homebrew's prefix. The formula provides the following rationale: -#{f.keg_only?} +#{f.keg_only?.chomp} Generally there are no consequences of this for you, however if you build your own software and it requires this formula, you may want to run this command to link it into the Homebrew prefix: brew link #{f.name} - EOS +EOS end @@ -105,7 +105,7 @@ def install f end if f.keg_only? - ohai 'Caveats', text_for_keg_only_formula(f).chomp + ohai 'Caveats', text_for_keg_only_formula(f) show_summary_heading = true else begin diff --git a/bin/brew b/bin/brew index 971478d721..b6147e0d15 100755 --- a/bin/brew +++ b/bin/brew @@ -64,7 +64,7 @@ begin # please improve it! :) exec 'mate', *Dir["#{HOMEBREW_PREFIX}/Library/*"]<< "#{HOMEBREW_PREFIX}/bin/brew"<< - "#{HOMEBREW_PREFIX}/README*" + "#{HOMEBREW_PREFIX}/README.md" else exec_editor *ARGV.formulae.collect {|f| f.path} end