Sha256: f1d790c1ec3e37ce406587326ba41d4777804a6ffc7eb60f8d264b2c41a07022
Contents?: true
Size: 720 Bytes
Versions: 27
Compression:
Stored size: 720 Bytes
Contents
# encoding: utf-8 module MagicRecipes # = RVM - Deploy-Recipes # # == unused for now # # [Tasks:] # # # [Callbacks:] # # 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
27 entries across 27 versions & 1 rubygems