BigW Consortium Gitlab

2_app.rb 261 Bytes
module Gitlab
  VERSION = File.read(Rails.root.join("VERSION")).strip
  REVISION = `git log --pretty=format:'%h' -n 1`

  def self.config
    Settings
  end
end

#
# Load all libs for threadsafety
#
Dir["#{Rails.root}/lib/**/*.rb"].each { |file| require file }