Created
December 10, 2015 12:08
-
-
Save annez/48a5002dc04a80ed3d16 to your computer and use it in GitHub Desktop.
Fix to override rake being execute out of binstub context
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
new_hash = { | |
:rake => "bundle exec bin/rake" | |
} | |
namespace :bundler do | |
task :map_bins do | |
fetch(:bundle_bins).each do |command| | |
SSHKit.config.command_map = SSHKit.config.command_map.defaults.merge!(new_hash) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment