capistrano-nvm
capistrano-nvm copied to clipboard
nvm support for Capistrano 3.x
Hi, I'm deploying a Rails app that makes use of bower and nvm. The problem I'm having now, is that it appears that Capistrano is not running nvm.sh, without being...
### Issue I have multiple Rails applications running on single VPS, each of them deployed under different user. `capistrano-nvm` fails on `nvm-exec.sh` manipulation, since it is already created in `/tmp/`...
It would be great to have the possibility to configure only the major version like: `set :nvm_node, 'v18'` By the way, thank you for your work on this gem.
This Pr allow to try to install wanted nodejs version if not on the server.
Performing some long overdue maintenance. Supersedes #28
I have encountered weird errors like: ``` /tmp/my_project/nvm-exec.sh: line 5: /home/vlad/my_project/releases/20240530191133/RBENV_ROOT=/home/my_project/.rbenv: No such file or directory ``` Clearly something was wrong with the `nvm-exec.sh` file. Turns out it didn't work...