Use secrets.yml file instead of initializer
Use Rails.application instead

Rails 4.1 default configuration is to use Rails.application instead of Gemcutter::Application
Merge pull request #823 from arthurnn/upgrade_configs

Upgrade configs