Giter VIP home page Giter VIP logo

Comments (6)

koenpunt avatar koenpunt commented on June 19, 2024

Hm, could make that configurable. Previous versions of NVM used the root .nvm directory. But somewhere before the nvm.sh file passed the 1000 lines of source code I stopped using it.

from capistrano-nvm.

MakotoTheKnight avatar MakotoTheKnight commented on June 19, 2024

+1 to this; I'd rather be able to specify where it lives than it have assumptions about it.

from capistrano-nvm.

dchersey avatar dchersey commented on June 19, 2024

Looking at the source, I found that I could specify
set :nvm_node_path, '/home/rails/.nvm/versions/node/v4.2.1' in my deploy/environment.rb
and it successfully finds the node location.

from capistrano-nvm.

koenpunt avatar koenpunt commented on June 19, 2024

If you set nvm_custom_path to $HOME/.nvm/versions/node it should work:

set :nvm_custom_path, "$HOME/.nvm/versions/node"

Scrap that, then nvm.sh can't be found anymore

from capistrano-nvm.

dchersey avatar dchersey commented on June 19, 2024

Thanks!

from capistrano-nvm.

koenpunt avatar koenpunt commented on June 19, 2024

Released as v0.0.6: https://github.com/koenpunt/capistrano-nvm/releases/tag/v0.0.6

from capistrano-nvm.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.