Sha256: fb9cb1cd2f22a6bda227b5b59f5e0391665871ee07099bb6b27f6b79d78e985e
Contents?: true
Size: 576 Bytes
Versions: 77
Compression:
Stored size: 576 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_webapp_base0/instance' require 'eac_ruby_gems_utils/gem' module Avm module EacRailsBase1 class Instance < ::Avm::EacWebappBase0::Instance 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 ||= ::EacRubyGemsUtils::Gem.new(::File.join(read_entry('fs_path')), host_env) end end end end
Version data entries
77 entries across 77 versions & 2 rubygems