Exception: EY::RefAndMigrateRequiredOutsideRepo

Inherits:
DeployArgumentError show all
Defined in:
lib/engineyard/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ RefAndMigrateRequiredOutsideRepo

Returns a new instance of RefAndMigrateRequiredOutsideRepo.



53
54
55
56
57
58
59
60
# File 'lib/engineyard/error.rb', line 53

def initialize(options)
  super <<-ERR
Because defaults are stored in a file in your application dir, when specifying
--app you must also specify the --ref and the --migrate or --no-migrate options.
Usage: ey deploy --app #{options[:app]} --ref [ref] --migrate [COMMAND]
   ey deploy --app #{options[:app]} --ref [branch] --no-migrate
  ERR
end