Commit 33410899 authored by Sarah Mei's avatar Sarah Mei

Fix for build breakage

parent a1d00d41
......@@ -8,9 +8,12 @@ end
oauth_keys_file = "#{Rails.root}/config/oauth_keys.yml"
if File.exist? oauth_keys_file
SERVICES = load_config_yaml(oauth_keys_file)
end
SERVICES ||= load_config_yaml("#{oauth_keys_file}.example")
SERVICES = nil
silence_warnings do
if File.exist? oauth_keys_file
SERVICES = load_config_yaml(oauth_keys_file)
else
SERVICES = load_config_yaml("#{oauth_keys_file}.example")
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment