lib/sprockets/sass/importer.rb in sprockets-sass-1.3.0 vs lib/sprockets/sass/importer.rb in sprockets-sass-1.3.1

- old
+ new

@@ -102,10 +102,10 @@ # Find base_path's root env_root_paths = context.environment.paths.map {|p| Pathname.new(p) } root_path = env_root_paths.detect do |env_root_path| base_path.to_s.start_with?(env_root_path.to_s) end - root_path ||= context.root_path + root_path ||= Pathname.new(context.root_path) # Add the relative path from the root, if necessary if path.relative? && base_path != root_path relative_path = base_path.relative_path_from(root_path).join path paths.unshift(relative_path, partialize_path(relative_path))