表单: RailsNotes
用户: dreamable
创建日期: 2021-01-17 00:54:31 UTC
更新日期: 2021-02-01 10:38:20 UTC
引用:(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"]
标签: