cloudinary:sync_static for non-image assets? #27

aaronchi opened this Issue Aug 22, 2012 · 9 comments

I'm not sure where to post this, so asking here.

Is it possible to use the cloudinary gem to sync css/js in addition to images using sync_static?


I would also find it very convenient if that rake task would also upload and handle the css and javascript files.


Plus one.


Huge Plus one on this as well.


I would also like to see this.

The uploader and asset helpers already seem well suited for achieving this -- in fact there are many places in the code where there is "if not an image asset, use original path" logic. This could simply be removed and the different types of paths accommodated.

i managed to hack the uploader to upload css and js, but was defeated while trying to get the unholy mess that is utils.rb to accommodate the asset paths.

If you are open to this functionality I could contribute code, and I imagine some other folks in this thread would also contribute/test.

Let us know if you are interested!


Automatic syncing of JS and CSS is currently not supported. You can manually upload JS and CSS files to Cloudinary, but no seamless integration with Rails Asset Pipeline is available for delivery of such files. It's in the road-map though.

@taragano taragano closed this Jun 19, 2014
@nadavs nadavs reopened this Jun 19, 2014


@tocker tocker added the enhancement label Apr 30, 2015
@tocker tocker was assigned by taragano Jul 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment