Sha256: 0aee6fea4ec5cd2f81efdbe9d031b329b280dc4930f21b11567c055c541e59a6

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

require "resque"

gem_path = Gem::Specification.find_by_name("easy_ml").gem_dir
Resque::Pool.configure do |config|
  config.path = File.join(gem_path, "config", "resque-pool.yml")
  puts "Resque pool config: #{config.path}"
end

Resque.redis = ENV["REDIS_URL"] || "redis://localhost:6379"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc11 config/initializers/resque.rb