Fix bug.
This commit is contained in:
parent
e5a00f7fcb
commit
04623bcca1
|
@ -44,7 +44,9 @@ namespace :exec_commands do
|
||||||
rails_envs = ["production", "development"]
|
rails_envs = ["production", "development"]
|
||||||
rails_envs.each do |env|
|
rails_envs.each do |env|
|
||||||
@command_relations["start_site_in_env,#{env}"] = "kill -s TERM `fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock`;bundle exec unicorn_rails -c config/unicorn.rb -D -E #{env}"
|
@command_relations["start_site_in_env,#{env}"] = "kill -s TERM `fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock`;bundle exec unicorn_rails -c config/unicorn.rb -D -E #{env}"
|
||||||
|
@command_relations["start_site_in_env\\,#{env}"] = @command_relations["start_site_in_env,#{env}"]
|
||||||
@command_trans["start_site_in_env,#{env}"] = I18n.t("client_management.start_site_in_env",{:env=>env})
|
@command_trans["start_site_in_env,#{env}"] = I18n.t("client_management.start_site_in_env",{:env=>env})
|
||||||
|
@command_trans["start_site_in_env\\,#{env}"] = @command_trans["start_site_in_env,#{env}"]
|
||||||
end
|
end
|
||||||
begin
|
begin
|
||||||
if args.type == "exec_all"
|
if args.type == "exec_all"
|
||||||
|
|
Loading…
Reference in New Issue