Sha256: e7bbccfa975609921d36fd2db13f742b80597e3f408ed3189da41dca47d86ece
Contents?: true
Size: 694 Bytes
Versions: 34
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_ruby_base1/sources/base' require 'avm/eac_webapp_base0/instances/base' module Avm module EacRailsBase1 module Instances class Base < ::Avm::EacWebappBase0::Instances::Base DEFAULT_RAILS_ENVIRONMENT = 'production' def bundle(*args) the_gem.bundle(*args).chdir_root.envvar('RAILS_ENV', DEFAULT_RAILS_ENVIRONMENT) end def rake(*args) bundle('exec', 'rake', *args) end def the_gem @the_gem ||= ::Avm::EacRubyBase1::Sources::Base.new( ::File.join(read_entry('install.path')) ).env_set(host_env) end end end end end
Version data entries
34 entries across 34 versions & 2 rubygems