Sha256: e71401d63ec0f1a960c006b01bbb1a9ff3d2c6803073d133cd1296f646278fd3
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
module ORS::Commands class Setup < Base def execute info "setting up #{name} #{environment}..." info "Are you sure? ('yes' + ctrl+D^2)" if pretending || STDIN.read == "yes" execute_in_parallel(all_servers) {|server| setup_repo server } run Ruby execute_command migration_server, prepare_environment, %(RAILS_ENV=#{environment} bundle exec rake db:create) else info "Setup aborted." end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ors-0.2.10 | lib/ors/commands/setup.rb |