2

I want to get rid of the default css stylesheet app/assets/stylesheets/scaffold.css.scss but when I delete it and run the server the styles still seem to be there.

Jamal Khan
  • 9,371
  • 6
  • 23
  • 23

2 Answers2

4

Check out your public ( or public/assets ) folder. You may be serving a 'precompiled' version from public/stylesheets ( or public/assets ). I think you can rake assets:precompile to update your file. Vaguely remember having to do something like this when I was working with some code that someone else had configured the project.

kikuchiyo
  • 3,391
  • 3
  • 23
  • 29
  • Check out the following SO Question for information about cleaning the asset pipleline. [Difference between rake assets:precompile, rake assets:clean and rake assets:cleanup](http://stackoverflow.com/questions/9335803/confusion-about-rake-assetsclean-cleanup-on-the-asset-pipeline-in-rails) - I believe this will help many to understand why these commands are used, concerning best methodology. – Devon Kiss Nov 27 '16 at 10:13
0

Clean up your precompiled assets using:

rake assets:clean

jiggysoo
  • 1,498
  • 2
  • 10
  • 9