daddyz / evercookie

evercookie gem for Ruby on Rails
MIT License
49 stars 27 forks source link

javascripts/ec.js 404 (Not Found) #5

Closed behrendtio closed 11 years ago

behrendtio commented 11 years ago

When running in production the ec.js file can't be found when running rails 4.

behrendtio commented 11 years ago

I was able to make it work with this: https://github.com/mbehrendt/evercookie/commit/ee9372930725dfcf7ab3f0dd18263925e0d8aa61

But this requires to add the ec.js file to the manifest:

//= require ec

Same way like bootstrap-sass handles things. Not sure if there's a way to keep the manifest file out of this, so no pull request just yet.

daddyz commented 11 years ago

thank you for your help, i am going to investigate this also. As i understand the only problem that ec.js doesn't get precompiled.

daddyz commented 11 years ago

@mbehrendt I think i fixed the issue, can you check it?

behrendtio commented 11 years ago

Nice, I'm gonna check it tomorrow.

behrendtio commented 11 years ago

Looks good, checked the current master on rails 4.0.0rc1. No errors in production and evercookie is working as expected, great!