Permalink
Browse files

Merge pull request #28 from bluestrike2/master

Include ./vendor/node_modules in NODE_PATH
  • Loading branch information...
2 parents 9ef5621 + 82721a0 commit ca3f8471e1a21038d8563b297410b0d1301274d7 @lucasmazza lucasmazza committed Jun 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/stylus.rb
View
@@ -154,5 +154,5 @@ def bundled_path
# Exports the `.node_modules` folder on the working directory so npm can
# require modules installed locally.
- ENV['NODE_PATH'] = "#{File.expand_path('node_modules')}:#{bundled_path}:#{ENV['NODE_PATH']}"
+ ENV['NODE_PATH'] = "#{File.expand_path('node_modules')}:#{File.expand_path('vendor/node_modules')}:#{bundled_path}:#{ENV['NODE_PATH']}"
end

0 comments on commit ca3f847

Please sign in to comment.