Sha256: 3a20592e2e6ad59abdb5f7466da3d7780b5e54c483aa46289cc53732c26d198b

Contents?: true

Size: 683 Bytes

Versions: 86

Compression:

Stored size: 683 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_rails_base1/instance'
require 'avm/eac_rails_base1/runner_with/rails_environment'
require 'eac_cli/runner'

module Avm
  module EacRailsBase1
    module RunnerWith
      module Bundle
        common_concern do
          include ::Avm::EacRailsBase1::RunnerWith::RailsEnvironment
        end

        def bundle_command
          rails_instance.bundle(*bundle_args).envvar('RAILS_ENV', rails_environment)
        end

        def bundle_run
          infov 'Bundle arguments', ::Shellwords.join(bundle_args)
          infov 'Rails environment', rails_environment
          bundle_command.system!
        end
      end
    end
  end
end

Version data entries

86 entries across 86 versions & 3 rubygems

Version Path
eac_tools-0.22.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.21.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.20.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.19.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.18.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.17.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.16.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.16.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.15.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.14.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.4.2 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.13.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.12.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.11.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.11.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.10.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.9.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.8.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.7.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.4.1 lib/avm/eac_rails_base1/runner_with/bundle.rb