-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset is saved in S3 under a local filesystem path #50
Comments
This can probably be avoided with the right combination of config variables (especially non-default values for paperclip.url) but the right incantations aren’t obvious |
I don’t understand why My understanding of the paperclip The magic combination of config parameters that worked for me was setting the following:
|
I'm leaving this issue open as I don’t know if I solved this “correctly”. Maybe someone with more experience with this extension and S3 can comment on whether this is the intended way of configuring it for S3. IMHO there seems to be too unnecessary and obscure configuration for a verity common case. |
if you're using fog storage there is no reason to configure the perhaps i'm too used to it to see what part is "unnecessary and obscure". could you point to specific parts that seem that way to you? maybe it's just fog that is weird as the configuration names were mapped as directly as possible from there. we could change them if it would help. |
When using fog as storage, the asset is saved in the S3 bucket under an absolute fileystem path, e.g. in
/Users/gerrit/Development/project/public/system/assets/8/original
That leads to broken images everywhere, apart from the fact that it’s not portable across different systems.
The text was updated successfully, but these errors were encountered: