Sha256: c77bffb77335c718583565ae3cf01dc951276d8e7af6ce72accef3fce78ba5eb
Contents?: true
Size: 526 Bytes
Versions: 5
Compression:
Stored size: 526 Bytes
Contents
ZfbenRailsRakePath = File.join File.dirname(__FILE__), 'zfben_rails_rake' if defined? Rails module ZfbenRailsRake class Railtie < Rails::Railtie railtie_name :zfben_rails_rake rake_tasks do require ZfbenRailsRakePath + '/helper.rb' Dir[File.join(ZfbenRailsRakePath, 'tasks', '*')].each{ |f| require f } end end end else require ZfbenRailsRakePath + '/helper.rb' Dir[File.join(ZfbenRailsRakePath, 'tasks', '*')].each{ |f| require f } task :default do p 'ok' end end
Version data entries
5 entries across 5 versions & 1 rubygems