Sha256: 977b5a896e33017483347ca2017442ca06dbf68ad7ace115a497bb6ef855fd2d
Contents?: true
Size: 585 Bytes
Versions: 70
Compression:
Stored size: 585 Bytes
Contents
#!/bin/bash #/ NAME #/ local-helper -- resets environment for another bundle exec #/ #/ SYNOPSIS #/ #/ local-helper command args ... # figure out the project root under which bin, lib live shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)" # load a jason bourne library source "$shome/libexec/_treadstone" # entry point function main { unset GEM_HOME BUNDLE_GEMFILE RUBYOPT bundle check 2>&1 >/dev/null || { bundle install --quiet --local --path vendor/bundle || bundle check > /dev/null; } exec bundle exec "$@" } require sub "$BASH_SOURCE" "$@"
Version data entries
70 entries across 60 versions & 1 rubygems