Ruby on rails 巴布亚新几内亚是';t使用capistrano进行预编译以部署

Ruby on rails 巴布亚新几内亚是';t使用capistrano进行预编译以部署,ruby-on-rails,capistrano,asset-pipeline,Ruby On Rails,Capistrano,Asset Pipeline,我得到了这个错误: ActionView::Template::Error (paanouplb_logo_navbar.png isn't precompiled): 1: <a class="brand" href="<%= posts_path %>"> 2: <%= image_tag asset_path('paanouplb_logo_navbar.png') %> 3: </a> app/views

我得到了这个错误:

ActionView::Template::Error (paanouplb_logo_navbar.png isn't precompiled):
    1: <a class="brand" href="<%= posts_path %>">
    2:   <%= image_tag asset_path('paanouplb_logo_navbar.png') %>  
    3: </a>
  app/views/shared/navbar/_brand.html.erb:2:in `_app_views_shared_navbar__brand_html_erb___4534137822881499314_42901420'
  app/views/shared/_navbar.html.erb:4:in `_app_views_shared__navbar_html_erb__3184300490266485791_40918660'
  app/views/layouts/home.html.erb:4:in `_app_views_layouts_home_html_erb___1407264114428489351_35989280'


我正在通过Capistrano部署。

您能试试
吗?好的。当然。我试试看。您的CAP文件中有“load deploy/assets”吗?
config.assets.compile = true
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)