tigrish/redmine_s3 — pull request #11 by JangoSteve (2012-03-01 21:50:48+00:00)
Title: Run s3.yml through erb for ENV variables

This allows you to define your s3 credentials using ERB and Heroku's config variables, so that you're not checking sensitive data into source control.

For example, using this fork, my s3.yml file looks like this:

```
production:
access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
bucket: <%= ENV['S3_BUCKET'] %>
endpoint:
secure: true
private:
expires:

```

This should be backwards compatible with the existing s3.yml direct format since ERB would simply not find any erb to parse out.