Sha256: ee5520cb3ac74763f0b37039d66ef4934d391c795349570b16bcc45ac8f209ee
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
# rails tries to load this from generator dir, so skip it. if __FILE__ !~ /rubber\/generators\/vulcanize/ begin # first try as a rails plugin require "#{File.dirname(__FILE__)}/../../vendor/plugins/rubber/lib/rubber.rb" rescue LoadError # then try as a gem require 'rubber' end env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'development') root = File.dirname(__FILE__) + '/../..' Rubber::initialize(root, env) require 'rubber/tasks/rubber' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sml-rubber-0.9.1 | generators/vulcanize/templates/base/lib/tasks/rubber.rake |