ruby on rails - rake assets:precompile failing without a useful error -


i'm trying precompile assets, whenever try fails error, doesn't tell me other have no idea it's coming or how find it. i'm running rake assets:precompile --trace , getting following output

** invoke assets:precompile (first_time) ** execute assets:precompile /home/nginx/.rvm/rubies/ruby-1.9.3-p327/bin/ruby /home/nginx/.rvm/gems/ruby-1.9.3-p327/bin/rake assets:precompile:all rails_env=production rails_groups=assets --trace ** invoke assets:precompile:all (first_time) ** execute assets:precompile:all ** invoke assets:precompile:primary (first_time) ** invoke assets:environment (first_time) ** execute assets:environment ** invoke environment (first_time) ** execute environment ** invoke tmp:cache:clear (first_time) ** execute tmp:cache:clear ** execute assets:precompile:primary undefined method `[]' nil:nilclass command failed status (1): [/home/nginx/.rvm/rubies/ruby-1.9.3-p327/bi...] 

that full output, i've not cut out. can see, i'm getting error no location or else.

is there way can track down?

ok figured out..well sort of. know why getting error still not actual reason error , file :(

but basically, have altered files precompiled rails, , method using causing css files precompiled regardless of whether importing files application.css.scss or not.

this leading of sass mixins not being found, , reason, having asset compression settings have, caused me error posted.

once i'd disabled compression, got more helpful error lead me final solution.

thanks :)


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -