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.9.2 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.74.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.74.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.73.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.72.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.9.1 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.70.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.9.0 lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.70.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.69.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.69.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.68.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.67.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.67.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.66.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.65.1 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.65.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.64.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
eac_tools-0.63.0 sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
avm-eac_rails_base1-0.8.4 lib/avm/eac_rails_base1/runner_with/bundle.rb