From 35ec93e161f269e5a594fdde9ced64dc467ff4a5 Mon Sep 17 00:00:00 2001 From: benji Date: Fri, 11 Sep 2015 18:30:41 +0200 Subject: [PATCH] Fix asset on subdomain --- config/deploy/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 52ad315..4224ad9 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -7,3 +7,4 @@ server 'zeus.ugent.be', user: 'tab', roles: %w{web app db}, ssh_options: { set :rails_env, 'production' set :rbenv_type, :system set :rbenv_ruby, File.read('.ruby-version').strip +set :default_env, 'RAILS_RELATIVE_URL_ROOT' => '/tab'