diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-26 11:17:49 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-26 17:12:42 +0100 |
commit | 1ff35f5d65f6a85b0c112869653503a2f173e176 (patch) | |
tree | f39434ebd182e978ac1d05069886fb6222636a5f /deps.sh | |
parent | markdown: link to document's source (diff) | |
download | blog-2019.tar.gz blog-2019.zip |
add deps.sh to install working versions2019
Diffstat (limited to 'deps.sh')
-rwxr-xr-x | deps.sh | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -o errexit -o nounset -o pipefail +shopt -s inherit_errexit lastpipe + +rbenv install --skip-existing "$( cat .ruby-version )" +rbenv rehash + +gem install bundler -v "$( tail -n 1 Gemfile.lock )" +rbenv rehash + +bundle install +rbenv rehash |