With sprockets-rails 3.0.0. When we set
config.assets.compile = true
we get
Rails.application.assets #=> nil
With this it causes default_load_path to error. undefined method '#path' for NilClass. https://github.com/Compass/compass-rails/blob/master/lib/compass-rails/configuration.rb#L43
Because this https://github.com/Compass/compass-rails/blob/master/lib/compass-rails.rb#L37 returns nil.
Does anybody know any workaround this for now?
similar issues
With sprockets-rails 3.0.0. When we set
config.assets.compile = truewe get
Rails.application.assets #=> nilWith this it causes
default_load_pathto error.undefined method '#path' for NilClass. https://github.com/Compass/compass-rails/blob/master/lib/compass-rails/configuration.rb#L43Because this https://github.com/Compass/compass-rails/blob/master/lib/compass-rails.rb#L37 returns nil.
Does anybody know any workaround this for now?
similar issues