This commit is contained in:
f 2019-09-18 13:45:18 -03:00
parent 60a18cf555
commit 2f1ca3fd9d
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -1,6 +1,7 @@
#!/bin/sh
export PATH=usr/lib/ccache/bin:$PATH
PLATFORM=`ruby -e "puts RbConfig::CONFIG['arch']"`
cd /srv/gems
@ -8,8 +9,8 @@ test -f ${GEM}-${VERSION}.gem \
|| gem fetch --source=https://rubygems.org --platform=ruby \
--version ${VERSION} ${GEM}
test -f ${GEM}-${VERSION}-`uname -m`-linux.gem \
test -f ${GEM}-${VERSION}-${PLATFORM}.gem \
|| gem compile -V --prune ${GEM}-${VERSION}.gem
gem inabox ${GEM}-${VERSION}-`uname -m`-linux.gem \
gem inabox ${GEM}-${VERSION}-${PLATFORM}.gem \
--host https://${HTTP_BASIC_USER}:${HTTP_BASIC_PASSWORD}@gems.${SUTTY}