Commit dc77c3a3 authored by root's avatar root

Fixes #87: Prevent from installing system vendor files using bundle.

parent f8e7c11a
EBUILD gitlab-shell-10.0.0.ebuild 2995 BLAKE2B 294c77c1330300eb1cc0e0845844d1537902bbbd84bfe78e122516b59e486560a946bb593cc3b371242b4cc6fddc83eaa9a195fba35ae7cfd274a4055dc35409 SHA512 4176ca125018cd666e1f76621464bc402916ee62e0c5ca18782593a4fdcd30814e7c478d4cc268926a8e6aa81181fe6ec6042077d75f889ca4166f1a1a07afc2
EBUILD gitlab-shell-10.0.0.ebuild 3121 BLAKE2B 1d8211339c615932226215a159cec393d5a4a15719f8a3ddb1ca97ab3c0cbb8f8ce0a48b03344f55e5bd3d716bb36de91e279edfbae01a6ede5ae9e5726a9ffe SHA512 1332f668e824355c30278f75011c3e35cb4aa9a6149cb95174eba98203ce97cf55f67d0c3eaf4263cc2d55013e7226550eb4326426bef65207669abe0c976a1b
EBUILD gitlab-shell-9.3.0.ebuild 2634 BLAKE2B fcd9c068293c430199674551ba82c0b6434378f6ee8529de71b3ce420a537e220e5552e748c65cdf47694c21843d7e3fc0d37346bef6d9b223abbf56bd532a88 SHA512 1c20e2754a3dca1550400288e4a7fb67793c6fd4e90bbc0be0876effe2bc50c752a79e6b7e16fa1ab984f92bd85b40791a6fd9504497d82700e67022abdf34e7
......@@ -59,7 +59,9 @@ each_ruby_compile() {
einfo "Running \"bundle install\" ..."
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
${BUNDLE} install || die "failed to run bundle install"
${BUNDLE} install --path vendor/bundle || die "failed to run bundle install"
ruby_version=$(ls $PWD/vendor/bundle/ruby)
export PATH=$PWD/vendor/bundle/ruby/$ruby_version/bin:$PATH
./bin/compile || die "failed to run ./bin/compile"
}
......
File mode changed from 100755 to 100644
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment