7 lines
213 B
Ruby
7 lines
213 B
Ruby
|
# Load application config
|
||
|
require './app/config.rb'
|
||
|
$conf = Config.new(File.join(__dir__, 'config/raven.yaml'))
|
||
|
|
||
|
bind_address = "tcp://#{$conf.get('server.address')}:#{$conf.get('server.port')}"
|
||
|
bind bind_address
|