cssruby-on-railsrubycss-reset

Integrating Normalize.css with the rails asset pipeline


I followed the super simple direction on how to install the normalize-rails css reset gem outlined here https://github.com/markmcconachie/normalize-rails

but I keep getting error stating that

"couldn't find file 'normalize-rails'"

when I included

*= require normalize-rails in my application.css file. I ran bundle, bundle update etc, still no dice. Am I installing this incorrectly? What I'm doing wrong?


Solution

  • First, run the following command to see if the gem has been installed

    bundle show normalize-rails
    

    And remember to restart your server after installing new gem :)