Cannot precompile all files (app\assets) in rails application though rake assets:precompile -


i have rails application , try run local server on win2012 right.

https://github.com/carloscoca/loccasions

i tried precompile files in app\assets though command rake assets:precompile , no errors came out.

however, ran website though localhost, incomplete need files , checked log file. (some files precompile others not, in manifest file same).

i tried config.assets.compile = true, not result , configuration too, no luck

started "/stylesheets/layout.css" 127.0.0.1 @ 2015-06-07 10:28:45 -0400  actioncontroller::routingerror (no route matches [get] "/stylesheets/layout.css"):   rendered c:/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.0ms)   started "/assets/default.css" 127.0.0.1 @ 2015-06-07 10:28:45 -0400 served asset /default.css - 404 not found (2ms)  actioncontroller::routingerror (no route matches [get] "/assets/default.css"):   rendered c:/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.0ms)   started "/assets/default.js" 127.0.0.1 @ 2015-06-07 10:28:45 -0400 served asset /default.js - 404 not found (0ms)  actioncontroller::routingerror (no route matches [get] "/assets/default.js"):   rendered c:/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.0ms)   started "/stylesheets/skeleton.css" 127.0.0.1 @ 2015-06-07 10:28:45 -0400  actioncontroller::routingerror (no route matches [get] "/stylesheets/skeleton.css"):   rendered c:/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.0ms)   started "/stylesheets/base.css" 127.0.0.1 @ 2015-06-07 10:28:45 -0400  actioncontroller::routingerror (no route matches [get] "/stylesheets/base.css"):   rendered c:/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.0ms)   started "/javascripts/tabs.js" 127.0.0.1 @ 2015-06-07 10:28:45 -0400  actioncontroller::routingerror (no route matches [get] "/javascripts/tabs.js"):   rendered c:/ruby193/lib/ruby/gems/1.9.1/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms) 

this worked me, answer belongs "coded addicted"

in config/application.rb may need add specific files in line: config.assets.precompile += %w(base., skeleton. .....)


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -