resolve/refinerycms — Issue #1139: Heroku: File to import not found or unreadable: refinery/site_bar
Author: joemsak
Created: 2011-11-15 19:39:43+00:00
State: open

From a fresh install of RefineryCMS edge on Heroku:

I applied the precompile assets fix found here: https://github.com/plataformatec/devise/issues/1339#issuecomment-2346575

And I see successful assets:precompile in Heroku push logs:

Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
/usr/local/bin/ruby /tmp/build_1qfk6rmu4c5nj/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets
-----> Rails plugin injection

Here is the error output from heroku logs when I attempt to visit the home page:

2011-11-15T19:36:59+00:00 app[web.1]: Started GET "/" for 173.165.61.105 at 2011-11-15 13:36:59 -0600
2011-11-15T19:37:00+00:00 app[web.1]:
2011-11-15T19:37:00+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: refinery/site_bar.
2011-11-15T19:37:00+00:00 app[web.1]: Load path: /app
2011-11-15T19:37:00+00:00 app[web.1]: (in /app/vendor/bundle/ruby/1.9.1/bundler/gems/refinerycms-633a0939a864/core/app/assets/stylesheets/refinery/refinery.css.scss)):
2011-11-15T19:37:00+00:00 app[web.1]: 4: <%= yield :meta %>
2011-11-15T19:37:00+00:00 app[web.1]: 5:

<%= ::Refinery::Setting.find_or_set(:site_name, 'Company Name') -%> - Refinery

2011-11-15T19:37:00+00:00 app[web.1]: 6: <%= csrf_meta_tags %>
2011-11-15T19:37:00+00:00 app[web.1]: 7: <%= stylesheet_link_tag 'refinery/refinery' %>
2011-11-15T19:37:00+00:00 app[web.1]: 8: <%= yield :stylesheets %>
2011-11-15T19:37:00+00:00 app[web.1]: 9: <%= render :partial => "refinery/admin/javascripts" %>
2011-11-15T19:37:00+00:00 app[web.1]: 10: