Sha256: 52892c1ea2f6db5c3c986fb77a9e0f0fabc55f85b930540e103985fb635f74b6
Contents?: true
Size: 462 Bytes
Versions: 8
Compression:
Stored size: 462 Bytes
Contents
namespace :nodejs do desc "Install Node.js" task :install, roles: :app do run "#{sudo} sh -c 'echo \"deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu lucid main\" > /etc/apt/sources.list.d/chris-lea-node.js-lucid.list'" run "#{sudo} apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C" run "#{sudo} apt-get -y update" run "#{sudo} apt-get -y --force-yes install nodejs" end after "deploy:install", "nodejs:install" end
Version data entries
8 entries across 8 versions & 1 rubygems