John Moffitt
John Moffitt

Reputation: 5839

Sprockets unable to locate stylesheets in a gem

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

Answers (1)

John Moffitt
John Moffitt

Reputation: 5839

Sprockets was able to locate the file after I restarted the rails server.

Upvotes: 1

Related Questions