Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

asset_sync doesn't respect config.assets.prefix #30

Closed
latensified opened this Issue Nov 30, 2011 · 4 comments

Comments

Projects
None yet
2 participants

For example, if you have different asset sets for staging, production, etc. you may wish to use this to store your assets in different directories:

staging.rb
config.assets.prefix = "assets-staging"

production.rb  
# use the default of:
# config.assets.prefix = "assets"

When you run the assets:precompile task, all assets in your staging environment are taken from your local public/assets and uploaded to /assets in the corresponding amazon bucket regardless of the prefix setting.

Contributor

davidjrice commented Dec 4, 2011

Hey if you want to check out the support for using the manifest.yml file to get the list of assets to upload?

In asset_sync if you set config.manifest = true it will then use either the default public/assets/manifest.yml or the value of Rails.application.config.assets.manifest

Does that work for you?

Or are you wanting to use a different name for the directory on the storage bucket?

@ghost

ghost commented Dec 29, 2011

Hello,

I have the same issue. I would like to use a differHJoent name for the directory on the S3 bucket.
How can I do that?

@ghost

ghost commented Dec 29, 2011

This should be fixed with the pull request #35

Contributor

davidjrice commented Jan 6, 2012

@latensified have just pushed out the changes by @cveneziani-silicon to Version 0.2.4 of the gem. Let me know if it doesn't solve your issues, thanks.

@davidjrice davidjrice closed this Jan 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment