Changed configuration handling in Railtie

Fixed processing of configuration to properly handle ingesting the configuration file.