If all you need to do is run specific processes or tests through specific
versions of Node, nave's subshell-based approach is really clean and
unintrusive. I used to use nvm and have switched to using the OS X
installer from nodejs.org and nave for versioned testing, and it's totally
straightforward.

F

On Wed, Feb 27, 2013 at 4:00 PM, Daniel Rinehart <[email protected]> wrote:

> I'd recommend looking into using nvm or another tool like it to manage
> multiple versions of node.
>
> -- Daniel R. <[email protected]> [http://danielr.neophi.com/]
> On Feb 27, 2013 5:59 PM, "Tim Dickinson" <[email protected]> wrote:
>
>> How would i override PATH so i dont have to set the version for each node
>> install that i have.
>> So I could have node 0.6.12 or 0.8.12 or 0.9.12 I dont really want to set
>> PATH for each version im running. I might have more then one instance of
>> npm and node running at once. setting 0.6.12 in the PATH might now work
>> when wanting to run 0.8.12
>>
>> On Wednesday, February 27, 2013 5:52:34 PM UTC-5, Ben Noordhuis wrote:
>>>
>>> On Wed, Feb 27, 2013 at 11:44 PM, Tim Dickinson <[email protected]>
>>> wrote:
>>> > I have a build of node version 0.6.12 but my main install of node is
>>> 0.8.20
>>> >
>>> > This is my output
>>> >
>>> > [bob@bob-workstation test]$ /tests/tmp/node/0.6.12/bin/npm install
>>> daemon
>>> > npm http GET 
>>> > https://registry.npmjs.org/**daemon<https://registry.npmjs.org/daemon>
>>> > npm http 304 
>>> > https://registry.npmjs.org/**daemon<https://registry.npmjs.org/daemon>
>>> >
>>> >> [email protected] preinstall /test/node_modules/daemon
>>> >> bash ./install
>>> >
>>> > Checking for program g++ or c++          : /usr/bin/g++
>>> > Checking for program cpp                 : /usr/bin/cpp
>>> > Checking for program ar                  : /usr/bin/ar
>>> > Checking for program ranlib              : /usr/bin/ranlib
>>> > Checking for g++                         : ok
>>> > Checking for node path                   : not found
>>> > Checking for node prefix                 : ok /usr/local
>>> > 'configure' finished successfully (0.044s)
>>> > Waf: Entering directory `/test/node_modules/daemon/**build'
>>> > [1/2] cxx: src/daemon.cc -> build/Release/src/daemon_1.o
>>> > [2/2] cxx_link: build/Release/src/daemon_1.o ->
>>> build/Release/daemon.node
>>> > Waf: Leaving directory `/test/node_modules/daemon/**build'
>>> > 'build' finished successfully (0.237s)
>>> > [email protected] ./node_modules/daemon
>>> > [bob@bob-workstation test]$ ls ./node_modules/daemon/lib/
>>> > daemon.js  daemon.v0.8.20.node
>>> > [bob@bob-workstation test]$
>>> >
>>> >
>>> > Im trying to install daemon for node version 0.6.12 not 0.8.20
>>>
>>> Make sure that the directory that contains the 0.6.12 binary and
>>> scripts comes first on your PATH.
>>>
>>  --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to