Sha256: 3dbc1d73e2b8a160eae7cbd505d5460b2a3c5360f6418da94373878460bc0647

Contents?: true

Size: 634 Bytes

Versions: 39

Compression:

Stored size: 634 Bytes

Contents

module Blue
  class Setup
    def self.load(capistrano_config)
      capistrano_config.load do

        namespace :blue do
          # This task should be idempotent
          desc "Configures generic dependencies Blue depends on"
          task :install, :roles => [:ruby] do
            blue.setup.os
            blue.setup.ruby
            blue.setup.gems
          end
        end
        after 'deploy:setup', 'blue:install'
      end
    end
  end
end

if Capistrano::Configuration.instance
  Blue::Setup.load(Capistrano::Configuration.instance)
end

require 'capistrano/os'
require 'capistrano/ruby'
require 'capistrano/gems'

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
blue-0.0.20 lib/capistrano/setup.rb
blue-0.0.19 lib/capistrano/setup.rb
blue-0.0.18 lib/capistrano/setup.rb
blue-0.0.17 lib/capistrano/setup.rb
blue-0.0.16 lib/capistrano/setup.rb
blue-0.0.15 lib/capistrano/setup.rb
blue-0.0.14 lib/capistrano/setup.rb
blue-0.0.13 lib/capistrano/setup.rb
blue-0.0.12 lib/capistrano/setup.rb
blue-0.0.11 lib/capistrano/setup.rb
blue-0.0.10 lib/capistrano/setup.rb
blue-0.0.9 lib/capistrano/setup.rb
blue-0.0.8 lib/capistrano/setup.rb
blue-0.0.7 lib/capistrano/setup.rb
blue-0.0.6 lib/capistrano/setup.rb
blue-0.0.5 lib/capistrano/setup.rb
blue-0.0.4 lib/capistrano/setup.rb
blue-0.0.3 lib/capistrano/setup.rb
blue-0.0.2 lib/capistrano/setup.rb