OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine-documentation-generator?expand=0&rev=1
10 lines
292 B
Bash
10 lines
292 B
Bash
#
|
|
# Download and cache required gems
|
|
# where to cache new gems
|
|
export GEM_HOME=gems
|
|
# look for installed gems here
|
|
export GEM_PATH=gems
|
|
# install without documentation
|
|
for i in `grep ^gem Gemfile | cut -d ' ' -f 2 | tr -d \'`; do gem install -N $i; done
|
|
tar cjf cached-gems.tar.xz gems/cache
|