diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/deploy.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 64135f7..367ae18 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -6,8 +6,10 @@ set :linked_files, %w{ config/initializers/refinery/core.rb config/initializers/secret_token.rb config/piwik.yml + config/puma.rb } set :linked_dirs, %w{ + bin log tmp/cache tmp/index @@ -17,7 +19,7 @@ set :linked_dirs, %w{ public/system } set :bundle_without, %w{development test deploy}.join(' ') - +set :bundle_binstubs, -> { shared_path.join('bin') } set :deploy_to, '/home/hmno/webapp/main' set :pg_user, 'hmno_db_admin' @@ -30,6 +32,6 @@ ask :piwik_url, 'https://piwik.example.com' set :rbenv_type, :user set :rbenv_ruby, File.read('.ruby-version').strip() -set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec" +set :rbenv_prefix, "RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} rbenv exec" set :rbenv_map_bins, %w{rake gem bundle ruby rails} set :rbenv_roles, :all |