Sha256: 6c06acfbdc9109259b553f1e2010a736f9cdaac99b8e7a682eda00f5784aa3ca

Contents?: true

Size: 689 Bytes

Versions: 114

Compression:

Stored size: 689 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_rails_base1/instances/base'
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

114 entries across 114 versions & 2 rubygems

Version Path
avm-eac_rails_base1-0.10.2 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.97.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.10.1 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.96.2 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.84.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.83.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.82.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.81.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.10.0 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.80.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.79.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.78.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.77.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.77.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.76.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.76.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.75.2 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.9.3 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.75.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.75.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb