Sha256: c7cd1bb48c36061b0e8b390cbe6a00f7ace157c94b01c1ab923304c1243e497b

Contents?: true

Size: 294 Bytes

Versions: 7

Compression:

Stored size: 294 Bytes

Contents

namespace :nodejs do
  desc "Install the latest relase of Node.js"
  task :install, roles: :app do
    run "#{sudo} add-apt-repository -y 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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nubis_rails_boilerplate-0.0.11 lib/capistrano_recipes/nodejs.rb
nubis_rails_boilerplate-0.0.10 lib/capistrano_recipes/nodejs.rb
nubis_rails_boilerplate-0.0.9 lib/capistrano_recipes/nodejs.rb
nubis_rails_boilerplate-0.0.8 lib/capistrano_recipes/nodejs.rb
nubis_rails_boilerplate-0.0.7 lib/capistrano_recipes/nodejs.rb
nubis_rails_boilerplate-0.0.6 lib/capistrano_recipes/nodejs.rb
nubis_rails_boilerplate-0.0.5 lib/capistrano_recipes/nodejs.rb