Custom config on Ruby on Rails

config/initializers/segment.rb

config/segment.rb