Sha256: acbc261e6a923d08d54975137329380d256340dee1181695bb32781a63faadf4
Contents?: true
Size: 805 Bytes
Versions: 21
Compression:
Stored size: 805 Bytes
Contents
unless defined?(Compass::RAILS_LOADED) Compass::RAILS_LOADED = true begin require 'action_pack/version' if ActionPack::VERSION::MAJOR >= 3 # TODO figure something out so image_path works with rails integration else %w(action_controller sass_plugin urls).each do |lib| require "compass/app_integration/rails/actionpack2/#{lib}" end end rescue LoadError => e $stderr.puts "Compass could not access the rails environment." rescue NameError => e $stderr.puts "Compass could not access the rails environment." end # Wierd that this has to be re-included to pick up sub-modules. Ruby bug? class Sass::Script::Functions::EvaluationContext include Sass::Script::Functions private include ActionView::Helpers::AssetTagHelper end end
Version data entries
21 entries across 21 versions & 1 rubygems