diff options
| author | Adam Vandenberg | 2013-03-12 20:31:33 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-12 20:31:33 -0700 |
| commit | 687062f7f57bba29d2beb05085dc1968134df7ff (patch) | |
| tree | e455eb905ad8ea4816b9afc7b8f83d5b6a34c08a | |
| parent | 87775e16497e651f891e04d2a291046d93265465 (diff) | |
| download | homebrew-687062f7f57bba29d2beb05085dc1968134df7ff.tar.bz2 | |
node: formatting
| -rw-r--r-- | Library/Formula/node.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 13d51b1e6..111763b87 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -5,7 +5,7 @@ class PythonVersion < Requirement satisfy { `python -c 'import sys;print(sys.version[:3])'`.strip.to_f >= 2.6 } - def message; + def message "Node's build system, gyp, requires Python 2.6 or newer." end end @@ -18,15 +18,14 @@ class NpmNotInstalled < Requirement end def message; <<-EOS.undent - The homebrew node recipe now (beginning with 0.8.0) comes with npm. + Beginning with 0.8.0, this recipe now comes with npm. It appears you already have npm installed at #{modules_folder}/npm. - To use the npm that comes with this recipe, - first uninstall npm with `npm uninstall npm -g`. - Then run this command again. + To use the npm that comes with this recipe, first uninstall npm with + `npm uninstall npm -g`, then run this command again. If you would like to keep your installation of npm instead of - using the one provided with homebrew, - install the formula with the --without-npm option added. + using the one provided with homebrew, install the formula with + the `--without-npm` option. EOS end |
