'sass' in a non thread-safe way

前端 未结 3 2051
甜味超标
甜味超标 2021-02-01 20:32

I\'m getting these warnings when trying to use sass in Rails 3.1 rc1.

WARN: tilt autoloading \'sass\' in a non thread-safe way; explicit requir         


        
3条回答
  •  时光取名叫无心
    2021-02-01 20:49

    have you tried doing this in Gemfile?

    gem "sass", :require => 'sass'
    

    this is an explicit call, without using initializers. by the way consider that you're using a rc1 release.

提交回复
热议问题