bin/setup in informed-1.1.0 vs bin/setup in informed-1.1.1

- old
+ new

@@ -1,8 +1,16 @@ #!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' set -vx -bundle install +if [ ! -d "$(rbenv root)/plugins" ]; then + echo "Installing ruby-build" + mkdir -p "$(rbenv root)"/plugins + git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build +fi -# Do any other automated setup that you need to do here +if [ ! -z ${RBENV_VERSION+x} ]; then + rbenv install -s $RBENV_VERSION + gem install bundler +fi +bundle install