Sass import error in Rails 3 app - “File to import not found or unreadable: compass”

后端 未结 7 1253
梦如初夏
梦如初夏 2020-12-03 07:23

I have a Rails 3 app on which I successfully ran compass init rails ./ --using blueprint. I can @import files from the /stylesheets directory, but

7条回答
  •  渐次进展
    2020-12-03 07:53

    I fixed this error after banging my head over it

    I commented this line in my application.rb from:

    Bundler.require(*Rails.groups(:assets => %w(development test))) if defined?(Bundler)
    

    and uncommented:

    Bundler.require(:default, :assets, Rails.env) if defined?(Bundler)    
    

    I am using Rails 3.2.11

提交回复
热议问题