From 2abcfe1fe1db5c77625211ae7726ecd905a47bd5 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 25 Mar 2013 11:51:47 -0700 Subject: [PATCH 1/1] add config.git_repositories_dir. refs #1445 --- config/environments/development.rb.example | 2 ++ config/environments/production.rb | 2 ++ config/environments/test.rb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/config/environments/development.rb.example b/config/environments/development.rb.example index 2d1ece5b08..ca28362855 100644 --- a/config/environments/development.rb.example +++ b/config/environments/development.rb.example @@ -30,6 +30,8 @@ Server::Application.configure do config.force_ssl = false + config.git_repositories_dir = '/var/cache/git' + config.whjobmanager_wrapper = :none # config.dnsmasq_conf_dir = '/etc/dnsmasq.d' diff --git a/config/environments/production.rb b/config/environments/production.rb index 182c6a3aac..7ae0d81267 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -58,6 +58,8 @@ Server::Application.configure do # Send deprecation notices to registered listeners config.active_support.deprecation = :notify + config.git_repositories_dir = '/var/cache/git' + config.whjobmanager_wrapper = :slurm_immediate # config.dnsmasq_conf_dir = '/etc/dnsmasq.d' diff --git a/config/environments/test.rb b/config/environments/test.rb index 2fe43d1e02..f63b5b3e93 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -37,6 +37,8 @@ Server::Application.configure do # Print deprecation notices to the stderr config.active_support.deprecation = :stderr + config.git_repositories_dir = '/var/cache/git' + config.whjobmanager_wrapper = :slurm_immediate # config.dnsmasq_conf_dir = '/etc/dnsmasq.d' -- 2.30.2