8784: Fix test for latest firefox.
[arvados.git] / services / api / config / environment.rb
1 # Load the rails application
2 require File.expand_path('../application', __FILE__)
3 require 'josh_id'
4
5 # Initialize the rails application
6 Server::Application.initialize!
7 begin
8   Rails.cache.clear
9 rescue Errno::ENOENT => e
10   # Cache directory does not exist? Then cache is clear, proceed.
11   Rails.logger.warn "In Rails.cache.clear, ignoring #{e.inspect}"
12 end