dmacdougall/fezzik — Issue #26: Fezzik.environments should be indexed by symbols, to match Fezzik.target_destination
Author: philc
Created: 2012-03-09 22:44:04+00:00
State: open

Inside of a Rake task, to access the current configuration, one must do:

port = Fezzik.environments[Fezzik.target_destination.to_s][:port]

1. IMO Fezzik environments should be indexed by symbol, not string
2. We should add an easier API to (readonly) access Fezzik evn settings inside of deploy scripts
3. This should be documented on the wiki under "environments" because I think it's reasonably common.