Sha256: 3891eb1403e34002e8b4734673c4639e4f0aa0ca3549536ce36f66a2b966d24b
Contents?: true
Size: 677 Bytes
Versions: 92
Compression:
Stored size: 677 Bytes
Contents
# Load local config files in /local begin local_file_supported = Dir[File.join(PROJECT_ROOT, 'local/*.sample')].map { |path| File.basename(path).sub(".sample","") } local_file_supported.each do |file| require "local/#{file}" end rescue LoadError puts <<-EOS This Gem supports local developer extensions in local/ folder. Supported files: #{local_file_supported.map { |f| "local/#{f}"}.join(', ')} Setup default sample files: rake local:setup Current warning: #{$!} EOS end # Now load Rake tasks from /tasks rakefiles = Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")] rakefiles.each { |rakefile| load File.expand_path(rakefile) }
Version data entries
92 entries across 92 versions & 5 rubygems