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

Version Path
alpha_omega-1.5.10 libexec/local-helper
alpha_omega-1.5.10 sbin/local-helper
alpha_omega-1.5.9 libexec/local-helper
alpha_omega-1.5.9 sbin/local-helper
alpha_omega-1.5.8 libexec/local-helper
alpha_omega-1.5.8 sbin/local-helper
alpha_omega-1.5.7 sbin/local-helper
alpha_omega-1.5.7 libexec/local-helper
alpha_omega-1.5.6 libexec/local-helper
alpha_omega-1.5.6 sbin/local-helper
alpha_omega-1.5.4 sbin/local-helper
alpha_omega-1.5.4 libexec/local-helper
alpha_omega-1.5.3 libexec/local-helper
alpha_omega-1.5.3 sbin/local-helper
alpha_omega-1.5.2 sbin/local-helper
alpha_omega-1.5.2 libexec/local-helper
alpha_omega-1.5.1 sbin/local-helper
alpha_omega-1.5.1 libexec/local-helper
alpha_omega-1.5.0 libexec/local-helper
alpha_omega-1.5.0 sbin/local-helper