Sha256: 2c369adcbaac10a345acb26cb09e78175c927048cfd5b2047390f0cb56fdea92

Contents?: true

Size: 373 Bytes

Versions: 8

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_ruby_base1/sources/base'
require 'singleton'

module TasksScheduler
  class AppGem < ::SimpleDelegator
    include ::Singleton

    def initialize
      super(::Avm::EacRubyBase1::Sources::Base.new(::Rails.root))
    end

    def bundle(*args)
      super(*args).chdir_root.envvar('RAILS_ENV', ::Rails.env)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tasks_scheduler-0.9.2 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.9.1 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.9.0 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.8.0 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.7.0 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.6.13 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.6.12 lib/tasks_scheduler/app_gem.rb
tasks_scheduler-0.6.11 lib/tasks_scheduler/app_gem.rb