Removed bin folder from linked_dirs in deploy, otherwise no rails console can be started on the servers, because the directory will be empty (as stated on several stackoverflow questions, for example: http://stackoverflow.com/questions/29039927/rails-4-doesnt-detect-application-after-capistrano-deployment )
This commit is contained in:
@ -3,7 +3,7 @@ set :config_example_suffix, '.example'
|
||||
set :default_env, 'PATH' => '/usr/java/jdk1.8.0_40/bin:$PATH'
|
||||
set :deploy_to, '/var/www/app'
|
||||
set :keep_releases, 3
|
||||
set :linked_dirs, %w(bin log public/uploads tmp/cache tmp/files tmp/pids tmp/sockets)
|
||||
set :linked_dirs, %w(log public/uploads tmp/cache tmp/files tmp/pids tmp/sockets)
|
||||
set :linked_files, %w(config/action_mailer.yml config/code_ocean.yml config/database.yml config/newrelic.yml config/secrets.yml config/sendmail.yml config/smtp.yml)
|
||||
set :log_level, :info
|
||||
set :puma_threads, [0, 16]
|
||||
|
Reference in New Issue
Block a user