Commit 0b38fc0a6a199a9628e2357ea88163c2eb01a269
1 parent
b0c97d97
Exists in
colab
and in
4 other branches
Fix to kalibro configuration file loading and deploy
Showing
2 changed files
with
1 additions
and
1 deletions
Show diff stats
config/deploy.rb
| @@ -46,6 +46,7 @@ namespace :deploy do | @@ -46,6 +46,7 @@ namespace :deploy do | ||
| 46 | before :compile_assets, :config_symlinks do | 46 | before :compile_assets, :config_symlinks do |
| 47 | on roles(:web) do | 47 | on roles(:web) do |
| 48 | execute "ln -s #{File.join(deploy_to, 'shared', 'config/database.yml')} #{File.join(release_path, 'config/database.yml')}" | 48 | execute "ln -s #{File.join(deploy_to, 'shared', 'config/database.yml')} #{File.join(release_path, 'config/database.yml')}" |
| 49 | + execute "ln -s #{File.join(deploy_to, 'shared', 'config/kalibro.yml')} #{File.join(release_path, 'config/kalibro.yml')}" | ||
| 49 | end | 50 | end |
| 50 | end | 51 | end |
| 51 | 52 |
config/environments/production.rb
| @@ -83,5 +83,4 @@ Mezuro::Application.configure do | @@ -83,5 +83,4 @@ Mezuro::Application.configure do | ||
| 83 | 83 | ||
| 84 | # Kalibro URL | 84 | # Kalibro URL |
| 85 | KalibroGem.configure_with(Rails.root.join('config', 'kalibro.yml')) | 85 | KalibroGem.configure_with(Rails.root.join('config', 'kalibro.yml')) |
| 86 | - puts Rails.root.join('config', 'kalibro.yml') | ||
| 87 | end | 86 | end |