lib/capistrano/tasks/puma.cap in capistrano3-puma-0.8.0 vs lib/capistrano/tasks/puma.cap in capistrano3-puma-0.8.1

- old
+ new

@@ -1,23 +1,23 @@ namespace :load do task :defaults do set :puma_default_hooks, -> { true } set :puma_role, :app - set :puma_nginx_role, :web set :puma_env, -> { fetch(:rack_env, fetch(:rails_env, fetch(:stage))) } # Configure "min" to be the minimum number of threads to use to answer # requests and "max" the maximum. set :puma_threads, [0, 16] set :puma_workers, 0 set :puma_rackup, -> { File.join(current_path, 'config.ru') } set :puma_state, -> { File.join(shared_path, 'tmp', 'pids', 'puma.state') } set :puma_pid, -> { File.join(shared_path, 'tmp', 'pids', 'puma.pid') } - set :puma_bind, -> { File.join('unix://', shared_path, 'tmp', 'sockets', 'puma.sock') } + set :puma_bind, -> { File.join("unix://#{shared_path}", 'tmp', 'sockets', 'puma.sock') } set :puma_conf, -> { File.join(shared_path, 'puma.rb') } set :puma_access_log, -> { File.join(shared_path, 'log', 'puma_access.log') } set :puma_error_log, -> { File.join(shared_path, 'log', 'puma_error.log') } set :puma_init_active_record, false set :puma_preload_app, true + set :puma_prune_bundler, false # Rbenv and RVM integration set :rbenv_map_bins, fetch(:rbenv_map_bins).to_a.concat(%w{ puma pumactl }) set :rvm_map_bins, fetch(:rvm_map_bins).to_a.concat(%w{ puma pumactl })