Sha256: 53829e913391fc09791afe0f766e55a8fed9c5f605b8b405bc311ddde96bbc64

Contents?: true

Size: 528 Bytes

Versions: 16

Compression:

Stored size: 528 Bytes

Contents

module Blue
  module Gems

    def self.load(capistrano_config)
      capistrano_config.load do

        namespace :blue do
          namespace :setup do
            desc "Install required gems"
            task :gems do
              sudo "gem install #{Blue::Gems.required_gems.join(' ')} --no-ri --no-rdoc"
            end
          end
        end
        before 'deploy:update', 'blue:setup:gems'
      end
    end
  end
end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
blue-0.2.7 lib/capistrano/gems.rb
blue-0.2.6 lib/capistrano/gems.rb
blue-0.2.5 lib/capistrano/gems.rb
blue-0.2.3 lib/capistrano/gems.rb
blue-0.2.2 lib/capistrano/gems.rb
blue-0.2.1 lib/capistrano/gems.rb
blue-0.2.0 lib/capistrano/gems.rb
blue-0.1.9 lib/capistrano/gems.rb
blue-0.1.8 lib/capistrano/gems.rb
blue-0.1.6 lib/capistrano/gems.rb
blue-0.1.5 lib/capistrano/gems.rb
blue-0.1.4 lib/capistrano/gems.rb
blue-0.1.3 lib/capistrano/gems.rb
blue-0.1.2 lib/capistrano/gems.rb
blue-0.1.1 lib/capistrano/gems.rb
blue-0.1.pre lib/capistrano/gems.rb