Sha256: fb3d7e8770908076a5586dcdc391b3435595609a4897bde0d69f57f453434545
Contents?: true
Size: 1.05 KB
Versions: 39
Compression:
Stored size: 1.05 KB
Contents
module Blue class Os PACKAGES = %w( g++ gcc make libc6-dev patch openssl ca-certificates libreadline6 \ libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev \ libxml2-dev libxslt1-dev autoconf libc6-dev \ libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev ) def self.load(capistrano_config) capistrano_config.load do namespace :blue do namespace :setup do desc "Install required gems" task :os do sudo "apt-get install -y #{Blue::Os::PACKAGES.join(' ')}" # Capistrano isn't smart enough to set this up correctly path = "/u/apps/#{application}" sudo "chown -R #{user} #{path}" # Grab github's fingerprint # Oh yea, this is dangerous run "ssh -o StrictHostKeyChecking=no git@github.com || true" end end end end end end end if Capistrano::Configuration.instance Blue::Os.load(Capistrano::Configuration.instance) end
Version data entries
39 entries across 39 versions & 1 rubygems