capistrano の deploy.rb なんかに次の一行を書いておくとrunメソッドなどがすっきり書けるよ
default_run_options.update(:env => {"RAILS_ENV" => rails_env})
Go to list of users who liked
More than 5 years have passed since last update.
capistrano の deploy.rb なんかに次の一行を書いておくとrunメソッドなどがすっきり書けるよ
default_run_options.update(:env => {"RAILS_ENV" => rails_env})
Register as a new user and use Qiita more conveniently
Go to list of users who liked