Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created July 25, 2012 21:23
Show Gist options
  • Save phlegx/3178770 to your computer and use it in GitHub Desktop.
Save phlegx/3178770 to your computer and use it in GitHub Desktop.
raw_config = File.read(File.expand_path('../config.yml', __FILE__))
APP_CONFIG = YAML.load(raw_config)[Rails.env]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment