Skip to content

Instantly share code, notes, and snippets.

@takuyan
Created November 1, 2012 11:13
Show Gist options
  • Save takuyan/3993082 to your computer and use it in GitHub Desktop.
Save takuyan/3993082 to your computer and use it in GitHub Desktop.
partial deploy.rb for using rbenv with capistrano
require "bundler/capistrano"
set :default_environment, {
'RBENV_ROOT' => '$HOME/.rbenv',
'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
}
set :bundle_flags, "--quiet --binstubs --shebang ruby-local-exec"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment