gitlab-org--gitlab-foss/config/initializers/2_app.rb
2014-03-03 08:40:29 +01:00

13 lines
294 B
Ruby

module Gitlab
VERSION = File.read(Rails.root.join("VERSION")).strip
REVISION = Gitlab::Popen.popen(%W(git log --pretty=format:%h -n 1)).first.chomp
def self.config
Settings
end
end
#
# Load all libs for threadsafety
#
Dir["#{Rails.root}/lib/**/*.rb"].each { |file| require file }