Sha256: 1620cf85fa6c5ddb7f2023dce2b597a7a461543c8fbc4434b471db8c91cf870f
Contents?: true
Size: 1.17 KB
Versions: 20
Compression:
Stored size: 1.17 KB
Contents
# frozen_string_literal: true require 'avm/eac_rails_base1/instances/base' require 'eac_ruby_utils/core_ext' module Avm module EacRedmineBase0 module Instances class Base < ::Avm::EacRailsBase1::Instances::Base module Install INSTALL_EXTRA_KEY = 'install.extra' DEFAULT_INSTALL_EXTRA = '' # @return [String] def auto_install_extra inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID, INSTALL_EXTRA_KEY) || DEFAULT_INSTALL_EXTRA end def run_installer ::EacRubyUtils::Ruby.on_clean_environment do installer_command.system! end end def installer_command host_env.command(installer_path, install_task) end def installer_path ::File.join(install_path, 'plugins', 'redmine_installer', 'installer', 'run.sh') end def install_task if web_path_optional.present? 'redmine_as_apache_path' else 'redmine_as_apache_base' end end end end end end end
Version data entries
20 entries across 20 versions & 2 rubygems