Reputation: 5839
Sprockets is unable to find stylesheets and javascript bundled in a gem. It raises the exception couldn't find file 'fullcalendar' with type 'text/css'
My application.css includes *= require fullcalendar
and the result of running Rails.application.config.assets.paths
includes "/usr/local/rvm/gems/ruby-2.2.1/gems/fullcalendar-rails-2.3.1.0/vendor/assets/stylesheets"
From what I understand, require should be looking in the vendor folder for stylesheets named fullcalendar, but it doesn't seem to be.
Are there any configurations I need to make before Sprockets will check this other folder?
Upvotes: 1
Views: 163
Reputation: 5839
Sprockets was able to locate the file after I restarted the rails server.
Upvotes: 1