capistrano task only for installing nvm and node automatically.
it hooks capistrano-nvm task, so you also have to use capistrano-nvm
.
Add this line to your application's Gemfile:
group :development do
gem 'capistrano-nvm', require: false
gem 'capistrano-nvm-install', require: false
end
# Capfile.rb
require 'capistrano/nvm'
require 'capistrano/nvm-install'