Sha256: 865b04f4e3f176d349ecc1ca2774d1f21d30cf927f79ecbc7073dc441106b3ef

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  namespace :nodejs do
    desc "Install the latest relase of Node.js"
    task :install, roles: :app do
      run "#{sudo} add-apt-repository ppa:chris-lea/node.js"
      run "#{sudo} apt-get -y update"
      run "#{sudo} apt-get -y install nodejs"
    end
    after "deploy:install", "nodejs:install"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cap_bootstrap-0.3.0 lib/cap_bootstrap/recipes/nodejs.rb
cap_bootstrap-0.2 lib/cap_bootstrap/recipes/nodejs.rb
cap_bootstrap-0.1 lib/cap_bootstrap/recipes/nodejs.rb