lib/negroku/modes/app.rb in negroku-2.5.0 vs lib/negroku/modes/app.rb in negroku-2.5.1
- old
+ new
@@ -13,10 +13,11 @@
data[:repo_url] = select_repo
ask_features
custom_capify data
+ install_binstubs
end
def update
@@ -33,9 +34,13 @@
puts I18n.t :updated_capfile, scope: :negroku
else
puts I18n.t :no_change_capfile, scope: :negroku
end
+ end
+
+ def install_binstubs
+ `bundle binstub capistrano negroku`
end
# This code was exatracted from capistrano to be used with our own templates
# https://github.com/capistrano/capistrano/blob/68e7632c5f16823a09c324d556a208e096abee62/lib/capistrano/tasks/install.rake
def custom_capify(data={}, config=nil)