aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2010-12-28 11:11:21 +0000
committerMike McQuaid2010-12-28 11:11:21 +0000
commitf55f417275d6e4570b926fa4e532b6efae11390b (patch)
tree5e7b4375c05e8cedb80964411401690abbbc00b3
parentb43149a11469794a780501aef367834eb0d08d72 (diff)
downloadhomebrew-f55f417275d6e4570b926fa4e532b6efae11390b.tar.bz2
Add NODE_PATH caveat to node.
Closes #3581.
-rw-r--r--Library/Formula/node.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 7c3ef51fc..c556b4c03 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -27,4 +27,8 @@ class Node <Formula
system "./configure", *args
system "make install"
end
+
+ def caveats
+ "Please add #{HOMEBREW_PREFIX}/lib/node to your NODE_PATH environment variable to have node libraries picked up."
+ end
end