This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Pedro Belo (author)
Fri Mar 20 13:23:54 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.gems | Thu Mar 19 15:09:30 -0700 2009 | |
| |
.gitignore | Thu Mar 19 14:17:37 -0700 2009 | |
| |
README.rdoc | Thu Mar 19 17:48:52 -0700 2009 | |
| |
Rakefile | Thu Mar 19 14:10:55 -0700 2009 | |
| |
app/ | Fri Mar 20 13:23:54 -0700 2009 | |
| |
config/ | Thu Mar 19 15:09:30 -0700 2009 | |
| |
db/ | Thu Mar 19 14:18:29 -0700 2009 | |
| |
doc/ | Thu Mar 19 14:10:55 -0700 2009 | |
| |
public/ | Thu Mar 19 14:48:03 -0700 2009 | |
| |
script/ | Thu Mar 19 14:10:55 -0700 2009 | |
| |
test/ | Thu Mar 19 14:48:03 -0700 2009 | |
| |
vendor/ | Thu Mar 19 14:14:03 -0700 2009 |
README.rdoc
Paperclip + S3 on Heroku
Summary
- Add a .gems file with the "right_aws" gem
- Insert your S3 credentials in config/s3.yml
- Provide S3 related options when calling has_attached_file
A few things to notice
- Pay special attention when copying code from tutorials. Some text converting filters like Textile and SmartyPants will convert "100x100" to "100×100" (notice how the "x" character was converted to ASCII 215, which will be passed to ImageMagick and cause a failure).
- Paperclip by default swallows STDERR when calling ImageMagick, making it
hard to debug problems with its binaries. To avoid this behavior you might
want to disable it with:
Paperclip.options[:swallow_stderr] = false







