ruby on rails - After asset precompiling webpage lost all design -


Recently I changed my app's environment to production, then there was an error message in my log file.

  ActionView :: Template :: error (jquery.fancybox.pack.js is not precompiled):   

So I tried to execute Rake property: precompile , but nothing happened, the error remained the same. In the stack overflow, I want this code to be production.rb

  config.assets.precompile & lt;   

Then I press the property: precompile again now I got some action:

  with property: /home3/ecotec11/rails_apps/technorent/app/assets/javascripts/active_admin.js Including property: / home3 / ecotec11 / rails_apps / technorent / asset / Assets / Javascript / ga.js include: /home3/ecotec11/rails_apps/technorent/app/assets/javascripts/jquery-1.9.1.min.js   

....

  Excluding Property: /home3/ecotec11/rails_apps/technorent/vendor/bundle/ruby/1.9.3/gems/tinymce-rails-3.5.9/vendor/assets/javascripts/tinymce Exclude Property /themes/advanced/skins/highcontrast/ui.css: /home3/ecotec11/rails_apps/technorent/vendor/bundle/ruby/1.9.3/gems/tinymce-rails-3.5.9/vendor/assets/javacripts /   

Now I am browsing my web app, but all the styles and designs have gone ..

What could be the reason for this problem? Thanks!

If you use bootstrap, try clearing temp by rake tmp: clear . More information about your gems is required, and log in

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -