Sha256: 28f2b5e09de2dd135876580ac284efe5330441787cc711ff0bd2d54e29c706de
Contents?: true
Size: 607 Bytes
Versions: 19
Compression:
Stored size: 607 Bytes
Contents
# encoding: utf-8 module MagicRecipes module Nodejs def self.load_into(configuration) configuration.load do # code is taken from railscast #337 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 # eof end end end end
Version data entries
19 entries across 19 versions & 1 rubygems