Table: RailsNotes
User: dreamable
Created at: 2021-01-17 00:54:31 UTC
Updated at: 2021-02-01 10:38:20 UTC
Reference:(Table ID 3, Record ID 14)

标题 :
include css.erb file in application.css
笔记 :

To use rouge, I include an erb file in application.css. This cause some problems in Rails console

  1. First rails console failed with error cannot load such file -- rouge; the second try works.
  2. Can't reload! Second try doesn't work either.

Solution: Not work

#config/application.rb
config.assets.precompile += ["rouge"]
Tag: