Skip to content

Instantly share code, notes, and snippets.

@markandrewj
Last active March 2, 2016 23:39
Show Gist options
  • Save markandrewj/d9ece855bad865683774 to your computer and use it in GitHub Desktop.
Save markandrewj/d9ece855bad865683774 to your computer and use it in GitHub Desktop.
RVM/Bundler vendor dir and aliases
bundle install --path vendor
bundle package
echo 'vendor/ruby' >> .gitignore
alias b="bundle"
alias bi="b install --path vendor"
alias bil="bi --local"
alias bu="b update"
alias be="b exec"
alias binit="bi && b package && echo 'vendor/ruby' >> .gitignore"
alternative:
alias bi='bundle install --path .bundle/gems --binstubs .bundle/bin'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment