Closed cu39 closed 10 years ago
In Ruby or Python for example, we can require gems or import packages which have been installed globally. Even with rbenv/pyenv, no config required.
require
import
In Node however, we have to add manually the global node_modules path to NODE_PATH. It needs to be changed frequently in ndenv environment.
node_modules
NODE_PATH
With this commit the global node_modules each version has will be added automatically just before execution in ndenv-exec.
ndenv-exec
Thanks!
:laughing:
In Ruby or Python for example, we can
require
gems orimport
packages which have been installed globally. Even with rbenv/pyenv, no config required.In Node however, we have to add manually the global
node_modules
path toNODE_PATH
. It needs to be changed frequently in ndenv environment.With this commit the global
node_modules
each version has will be added automatically just before execution inndenv-exec
.