Skip to content

Instantly share code, notes, and snippets.

@zph
Created November 4, 2015 05:26
Show Gist options
  • Select an option

  • Save zph/7c332546c15351de8b58 to your computer and use it in GitHub Desktop.

Select an option

Save zph/7c332546c15351de8b58 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
source ~/.zsh.d/chruby.zsh
set -eo pipefail
readonly FILE=$1
readonly STARTING_DIR=$(pwd)
cd ~/src/zist && \
source .envrc && \
bundle exec ruby bin/zist "$FILE" "$STARTING_DIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment