Exception: EY::RefAndMigrateRequiredOutsideRepo
- Inherits:
-
DeployArgumentError
- Object
- RuntimeError
- Error
- DeployArgumentError
- EY::RefAndMigrateRequiredOutsideRepo
- Defined in:
- lib/engineyard/error.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ RefAndMigrateRequiredOutsideRepo
constructor
A new instance of RefAndMigrateRequiredOutsideRepo.
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() 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 #{[:app]} --ref [ref] --migrate [COMMAND] ey deploy --app #{[:app]} --ref [branch] --no-migrate ERR end |