Sha256: 84612acccf9e7bc1bd2265025c5e6f6516b47e39bc5185f9d1b335c8e5cd677b
Contents?: true
Size: 1015 Bytes
Versions: 2
Compression:
Stored size: 1015 Bytes
Contents
#!/usr/local/bin/bash # Bundle install each All Support Ruby declare -a report for version in $@; do echo "== Bundle install for Ruby Version: ${version} ==" # Remove gemfile.lock lockfile="./gemfiles/ruby_${version}.gemfile.lock" if [[ -f $lockfile ]]; then rm $lockfile; fi # Change Ruby Version echo ${version} > ./.ruby-version && rbenv rehash # Bundle install if [[ $version == "2.3.3" ]]; then BUNDLE_GEMFILE=./gemfiles/ruby_${version}.gemfile bundle _1.17.3_ install --path vendor/bundle && report+=("ruby-${version}: $?") else BUNDLE_GEMFILE=./gemfiles/ruby_${version}.gemfile bundle install --path vendor/bundle && report+=("ruby-${version}: $?") fi if [ $? -ne 0 ]; then report+=("ruby-${version}: 1 (failed)");fi echo "== End for Ruby Version: ${version} ==" done # Display report echo "===== Bundle install for All Support Ruby Result =====" for result in "${report[@]}"; do echo $result done echo "======================================================"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
r2-oas-0.3.1 | devscript/bundle_for_all_support_ruby.sh |
r2-oas-0.3.0 | devscript/bundle_for_all_support_ruby.sh |