ndbroadbent / turbo-sprockets-rails3

Speeds up your Rails 3 assets:precompile by only recompiling changed files, and only compiling once to generate all assets
MIT License
975 stars 78 forks source link

rake aborted! couldn't find file 'jquery.lightbox-0.5' #59

Open Adam0964 opened 11 years ago

Adam0964 commented 11 years ago

All commands work fine:

1 - cap -h 2 - cap -T

But, as soon as I issue: cap assets:precompile

I get a dump with the most relevant line:

"rake aborted! couldn't find file 'jquery.lightbox-0.5' ",

even tough 'jquery.Lighbox-0.5' is present both in my 'application.js ' and my 'application.css.' =>

' *= require jquery.lightbox-0.5'

Any clue? Anyone?

ndbroadbent commented 11 years ago

Please try 'rake assets:precompile', and you should get the same error on your local machine. Are you sure you have the jquery.lightbox file somewhere in app/assets, or vendor/assets?

On Tuesday, 12 March 2013 at 7:27 AM, Adam0964 wrote:

All commands work fine: 1 - cap -h 2 - cap -T
But, as soon as I issue:
cap assets:precompile
I get a dump with the most relevant line:
"rake aborted! couldn't find file 'jquery.lightbox-0.5' ",
even tough 'jquery.Lighbox-0.5' is present both in my 'application.js ' and my 'application.css.' => ' *= require jquery.lightbox-0.5' Any clue? Anyone?

— Reply to this email directly or view it on GitHub (https://github.com/ndbroadbent/turbo-sprockets-rails3/issues/59).

Adam0964 commented 11 years ago

I did issue the command on my local machine first, and I got the error and after I had committed the changes to git, I pushed them up to Heroku and then I got the same error, again. And yes, the jquery.lightbox-0.5 is in the app/assets/javascripts and app/assets/stylesheets folders respectively.