Created
November 1, 2012 11:13
-
-
Save takuyan/3993082 to your computer and use it in GitHub Desktop.
partial deploy.rb for using rbenv with capistrano
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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