Sha256: 8864ed0ad90ebdc2101e2fbbdbeaf486ab336bf5e92cc3a1ff0fc0f1af3d6d5a

Contents?: true

Size: 549 Bytes

Versions: 10

Compression:

Stored size: 549 Bytes

Contents

# CodeKit needs relative paths
dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)

require 'normalize-rails'
require 'bourbon'

module Chr
  if defined?(Rails) && defined?(Rails::Engine)
    class Engine < ::Rails::Engine
      require 'chr/engine'
    end
  else
    # not a rails project, need to include sass and javascript folders
    #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

10 entries across 10 versions & 1 rubygems

Version Path
chr-0.2.8 lib/chr.rb
chr-0.2.7 lib/chr.rb
chr-0.2.5 lib/chr.rb
chr-0.2.4 lib/chr.rb
chr-0.2.1 lib/chr.rb
chr-0.2.0 lib/chr.rb
chr-0.1.5 lib/chr.rb
chr-0.1.4 lib/chr.rb
chr-0.1.2 lib/chr.rb
chr-0.1.1 lib/chr.rb