Sha256: f03e1e88f4034369f662edde05056da2f5ccd6fa2d2fdd77b0842475cf1d0952
Contents?: true
Size: 372 Bytes
Versions: 32
Compression:
Stored size: 372 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'totoro' # You might want to change this ENV['RAILS_ENV'] ||= 'development' root = Dir.pwd root = File.dirname(root) until File.exist?(File.join(root, 'config')) Dir.chdir(root) require File.join(root, 'config', 'environment') worker_class = ARGV[0] ::Worker.const_get(worker_class.to_s.camelize).new.execute
Version data entries
32 entries across 31 versions & 1 rubygems