Sha256: 0d92f0d87afdc1ab234ccfc1c52bbaad0d1c6025ae18893b8f9d8000647bc5b3
Contents?: true
Size: 657 Bytes
Versions: 22
Compression:
Stored size: 657 Bytes
Contents
# CodeKit needs relative paths dir = File.dirname(__FILE__) $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir) require "bourbon/generator" unless defined?(Sass) require 'sass' end module Bourbon if defined?(Rails) && defined?(Rails::Engine) class Engine < ::Rails::Engine require 'bourbon/engine' end module Rails class Railtie < ::Rails::Railtie rake_tasks do load "tasks/install.rake" end end end else bourbon_path = File.expand_path("../../app/assets/stylesheets", __FILE__) ENV["SASS_PATH"] = [ENV["SASS_PATH"], bourbon_path].compact.join(File::PATH_SEPARATOR) end end
Version data entries
22 entries across 22 versions & 2 rubygems
Version | Path |
---|---|
bourbon-4.1.0.pre | lib/bourbon.rb |
bourbon-4.0.2 | lib/bourbon.rb |