nathancolgate / s3-swf-upload-plugin

A rails 3 gem which allow user upload files to S3 through an embedded flash directly. All UI has been moved out of flex and can be controlled by CSS and JavaScript callbacks.
http://www.nathancolgate.com
MIT License
318 stars 74 forks source link

Rails 3.1.3 ActionView::Template::Error (s3_upload.js isn't precompiled): #57

Closed hamzashahid closed 12 years ago

hamzashahid commented 12 years ago

I am using Rails 3.1.3 and the plugin loads into a component on page upon an ajax call. It runs fine on my local machine. However when I deploy it on heroku it crashes giving this error. I would be grateful for any kind of help. Thanks !

nathancolgate commented 12 years ago

This is part of rails 3.1+

Add the js file to your production.rb file. Look for the precompile line.

Sent from my iPhone

On Jan 26, 2012, at 9:54 PM, hamzashahidreply@reply.github.com wrote:

I am using Rails 3.1.3 and the plugin loads into a component on page upon an ajax call. It runs fine on my local machine. However when I deploy it on heroku it crashes giving this error. I would be grateful for any kind of help. Thanks !


Reply to this email directly or view it on GitHub: https://github.com/nathancolgate/s3-swf-upload-plugin/issues/57