diff --git a/.gitignore b/.gitignore index 46a7bdf..ac7b235 100644 --- a/.gitignore +++ b/.gitignore @@ -19,5 +19,5 @@ coverage database.yml database.yml~ -database.yml.sample +kalibro.yml kalibro_cucumber_helpers.yml \ No newline at end of file diff --git a/config/environments/production.rb b/config/environments/production.rb index f9b95aa..bd38869 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -80,4 +80,8 @@ Mezuro::Application.configure do # Root URL for ActionMailer config.action_mailer.default_url_options = { :host => 'mezuro.org' } + + # Kalibro URL + KalibroGem.configure_with(Rails.root.join('config', 'kalibro.yml')) + puts Rails.root.join('config', 'kalibro.yml') end diff --git a/config/kalibro.yml.sample b/config/kalibro.yml.sample new file mode 100644 index 0000000..1133943 --- /dev/null +++ b/config/kalibro.yml.sample @@ -0,0 +1,2 @@ +# Configuration loaded only for production environment +address: http://localhost:8080/KalibroService/ \ No newline at end of file -- libgit2 0.21.2