diff --git a/lib/better_errors/error_page_style.rb b/lib/better_errors/error_page_style.rb index 2d14fde5..ff1cb858 100644 --- a/lib/better_errors/error_page_style.rb +++ b/lib/better_errors/error_page_style.rb @@ -1,9 +1,9 @@ -require "sassc" - module BetterErrors # @private module ErrorPageStyle def self.compiled_css(for_deployment = false) + require "sassc" + style_dir = File.expand_path("style", File.dirname(__FILE__)) style_file = "#{style_dir}/main.scss"