If you're working on an open source project, committing API keys or secrets to your repo is a big no-no. You wouldn't want anyone else making request with your keys, right?
So instead of putting those keys in app/config/initializers set then as environment variables in your shell. Here's an example for a Facebook API key:
export FB_API_KEY=3629346238763284623874623