Skip to content
Snippets Groups Projects
Unverified Commit acd927fd authored by Robert Speicher's avatar Robert Speicher
Browse files

Move lib/gitlab dependency to application

We use the `Gitlab.ee` and `.ee?` methods in several initializers now.
parent 3d12f073
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,6 +6,7 @@ Bundler.require(:default, Rails.env)
 
module Gitlab
class Application < Rails::Application
require_dependency Rails.root.join('lib/gitlab')
require_dependency Rails.root.join('lib/gitlab/redis/wrapper')
require_dependency Rails.root.join('lib/gitlab/redis/cache')
require_dependency Rails.root.join('lib/gitlab/redis/queues')
Loading
Loading
require_dependency 'lib/gitlab'
Gitlab.ee do
begin
public_key_file = File.read(Rails.root.join(".license_encryption_key.pub"))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment