grammar edits

This commit is contained in:
Adam Vandenberg 2013-11-13 20:19:35 -08:00
parent 0ece9135eb
commit 7df136cd50
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ def blacklisted? name
sudo easy_install pip sudo easy_install pip
EOS EOS
when 'pil' then <<-EOS.undent when 'pil' then <<-EOS.undent
Instead of PIL, consider to `pip install pillow` or `brew install samueljohn/python/pillow`. Instead of PIL, consider `pip install pillow` or `brew install samueljohn/python/pillow`.
EOS EOS
when 'macruby' then <<-EOS.undent when 'macruby' then <<-EOS.undent
MacRuby works better when you install their package: MacRuby works better when you install their package:

View File

@ -85,7 +85,7 @@ class PythonDependency < Requirement
ENV['PYTHONPATH'] = nil ENV['PYTHONPATH'] = nil
@unsatisfied_because = '' @unsatisfied_because = ''
if binary.nil? || !binary.executable? if binary.nil? || !binary.executable?
@unsatisfied_because += "No `#{@python}` found in your PATH! Consider to `brew install #{@python}`." @unsatisfied_because += "No `#{@python}` found in your PATH. To install with Homebrew use `brew install #{@python}`."
false false
elsif pypy? elsif pypy?
@unsatisfied_because += "Your #{@python} executable appears to be a PyPy, which is not supported." @unsatisfied_because += "Your #{@python} executable appears to be a PyPy, which is not supported."
@ -97,7 +97,7 @@ class PythonDependency < Requirement
@unsatisfied_because += "Python version #{version} is too old (need at least #{@min_version})." @unsatisfied_because += "Python version #{version} is too old (need at least #{@min_version})."
false false
elsif @min_version.major == 2 && `python -c "import sys; print(sys.version_info[0])"`.strip == "3" elsif @min_version.major == 2 && `python -c "import sys; print(sys.version_info[0])"`.strip == "3"
@unsatisfied_because += "Your `python` points to a Python 3.x. This is not supported." @unsatisfied_because += "Your `python` points to Python 3.x; this is not supported."
false false
else else
@imports.keys.all? do |module_name| @imports.keys.all? do |module_name|