Rails Passenger Error after replacing app -


i'm new rails , passenger.

i able set application rails , passenger (on lamp stack) sub uri

now deleted app folder using , replaced different one. think still expecting things old app. based on first messages error_log file

    [ 2013-07-11 20:08:10.6046 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]      [ 2013-07-11 20:08:10.6047 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr] actionview::template::error (application.css isn't precompiled):     [ 2013-07-11 20:08:10.6047 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     2: <html>     [ 2013-07-11 20:08:10.6047 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     3: <head>     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     4:   <title><%= full_title(yield(:title)) %></title>     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     5:   <%= stylesheet_link_tag    "application", :media => "all" %>     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     6:   <%= javascript_include_tag "application" %>     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     7:   <%= csrf_meta_tags %>     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]     8:   <%= render 'layouts/shim' %>     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]   app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2448934304053701042_30381400'     [ 2013-07-11 20:08:10.6048 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr]      [ 2013-07-11 20:08:10.6049 639/7fe8bdeb5700 pool2/implementation.cpp:1174 ]: [app 663 stderr] 

this works locally though.

any thoughts?

try running:

bundle exec rake assets:precompile 

in production environment. error occurs because in production environment assets should precompiled in order work. different in development, assets served rails app.


Comments