Sha256: 6d790fa137c38cfaf7d2b429f40fbc498ef1fb68898c0c829c8b1212fde984c1

Contents?: true

Size: 297 Bytes

Versions: 10

Compression:

Stored size: 297 Bytes

Contents

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 --yes"
    run "#{sudo} apt-get -y update"
    run "#{sudo} apt-get -y install nodejs"
  end
  after "deploy:install", "nodejs:install"
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rail_pass-0.2.0 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.10 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.9 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.8 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.7 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.6 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.5 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.4 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.3 lib/generators/templates/config/recipes/nodejs.rb
rail_pass-0.1.1 lib/generators/templates/config/recipes/nodejs.rb