Sha256: a7db913d822e8e34268440aa73ce125352eeb21ecfbf3ed139f0cf7b02a1a625
Contents?: true
Size: 367 Bytes
Versions: 7
Compression:
Stored size: 367 Bytes
Contents
require 'redis_importer' if defined?(Rails) && File.exists?(Rails.root.join("config/initializers", "local.rb")) require Rails.root.join("config/initializers", "local.rb") end namespace :redis_importer do desc 'Run import' task 'import' => :environment do ri = RedisImporter::RedisImporter.new if !ri.import fail "#{ri.errors}" end end end
Version data entries
7 entries across 7 versions & 1 rubygems