Remove a warning in the console task
Passing the environment's name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -e option instead.
This commit is contained in:
parent
a5aac76140
commit
8fa3602bfc
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ namespace :dev do
|
|||
end
|
||||
|
||||
task :console do
|
||||
exec("ssh tps@sgmap_production1 -t 'source /etc/profile && cd current && bundle exec rails c production'")
|
||||
exec("ssh tps@sgmap_production1 -t 'source /etc/profile && cd current && bundle exec rails c -e production'")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue