Sha256: d06c200d53884c0b4bf1c3c11785762ab4d6b5a8b492fbbfb4e561fcbdb02d65
Contents?: true
Size: 481 Bytes
Versions: 6
Compression:
Stored size: 481 Bytes
Contents
Capistrano::Configuration.instance.load do namespace :multiconfig do desc "[internal] Ensure that a configuration has been selected" task :ensure do unless exists?(:config_name) puts "No configuration specified. Please specify one of:" config_names.each { |name| puts " * #{name}" } puts "(e.g. `cap #{config_names.first} #{ARGV.last}')" abort end end end on :start, 'multiconfig:ensure', :except => config_names end
Version data entries
6 entries across 6 versions & 2 rubygems