Add lib/gitlab.rb to autoload non-conventional paths
This commit is contained in:
		
							parent
							
								
									2cefdbb535
								
							
						
					
					
						commit
						91c39fd8c7
					
				|  | @ -1,3 +1,5 @@ | |||
| require 'gitlab' # Load lib/gitlab.rb as soon as possible | ||||
| 
 | ||||
| class Settings < Settingslogic | ||||
|   source ENV.fetch('GITLAB_CONFIG') { "#{Rails.root}/config/gitlab.yml" } | ||||
|   namespace Rails.env | ||||
|  |  | |||
|  | @ -0,0 +1,5 @@ | |||
| require 'gitlab/git' | ||||
| 
 | ||||
| module Gitlab | ||||
|   autoload :Satellite, 'gitlab/satellite/satellite' | ||||
| end | ||||
		Loading…
	
		Reference in New Issue