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