| Server IP : 68.178.247.200 / Your IP : 216.73.216.110 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /./proc/self/root/opt/alt/ruby27/src/passenger-release-6.1.2/dev/ci/tests/homebrew-packaging/ |
Upload File : |
#!/usr/bin/env bash
set -e
if command -v rvm-exec; then
GEM_COMMAND='rvm-exec system gem'
RAKE_COMMAND='rvm-exec system rake'
SUDO_COMMAND='rvmsudo'
else
GEM_COMMAND='gem'
RAKE_COMMAND='rake'
SUDO_COMMAND='sudo'
fi
# rvm or system ruby
if ! $GEM_COMMAND list | grep -qE '^rack '; then
# The native packaging test runs passenger-install-*-module with the system Ruby,
# which in turn requires the 'rack' gem to be installed in the system Ruby's
# default RubyGems path. 'rake test:install_deps' installs to a local bundler
# directory but not to the default RubyGems path.
export rvmsudo_secure_path=0
retry_run 3 $SUDO_COMMAND $GEM_COMMAND install rack --no-document
fi
retry_run 3 $RAKE_COMMAND test:install_deps DEVDEPS_DEFAULT=no BASE_DEPS=yes SUDO=yes
# just system ruby
retry_run 3 gem install bundler -v '~>1.0' --no-document
retry_run 3 rake test:install_deps BASE_DEPS=yes