environment.rb 133 Bytes EditWeb IDE 1 2 3 4 5 6 7 module Gitlab module Environment def self.hostname @hostname ||= ENV['HOSTNAME'] || Socket.gethostname end end end