Skip to content

Commit

Permalink
ci: remove workaround for RCD runas
Browse files Browse the repository at this point in the history
rake-compiler/rake-compiler-dock#57
has been shipped in RCD v1.2.0 making this unnecessary.
  • Loading branch information
flavorjones committed Jan 5, 2022
1 parent 433850c commit bc3e640
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions scripts/test-gem-build
Expand Up @@ -14,18 +14,7 @@ BUILD_NATIVE_GEM=$2

test -e /etc/os-release && cat /etc/os-release

set -u

# TODO remove this stanza once https://github.com/rake-compiler/rake-compiler-dock/pull/57 is
# shipped in a version of rake-compiler-dock
if [[ "${XRUBIES:-}" != "" ]] ; then
# normally part of rake-compiler-dock "runas"
. /etc/rubybashrc
ln -s /usr/local/rake-compiler "$HOME"/.rake-compiler
export RAKE_EXTENSION_TASK_NO_NATIVE=true
fi

set -x
set -u -x

if [[ "${BUILD_NATIVE_GEM}" == "java" ]] ; then
# TODO remove after ruby-maven 3.3.13 or later is shipped
Expand Down

0 comments on commit bc3e640

Please sign in to comment.