Skip to content

Commit

Permalink
only use rvmsudo if it is on path
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 19, 2024
1 parent 78c2a99 commit e0a45b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/ci/tests/apache2/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
set -e

run ./bin/passenger-install-apache2-module --auto

if command -v rvmsudo; then
run rvmsudo ./bin/passenger-install-apache2-module --auto --no-compile
else
run sudo ./bin/passenger-install-apache2-module --auto --no-compile
fi
run bundle exec rake "-j$COMPILE_CONCURRENCY" test:integration:apache2

0 comments on commit e0a45b7

Please sign in to comment.