Reputation: 10151
I'm trying to deploy a rails 3.2 app using capistrano and rbenv on prod server.
Bundle is failing so I want to override the bundle:install
callback hook but I couldn't find the method in the capistrano gem sorce.
Where/which file does this declared ?
Upvotes: 2
Views: 2916
Reputation: 4784
Its actually in Bundler.
Its hooked up to Capistrano here - https://github.com/carlhuda/bundler/blob/master/lib/bundler/capistrano.rb#L9
The install task is defined here -
https://github.com/carlhuda/bundler/blob/master/lib/bundler/deployment.rb#L38
Given this, you can experiment around to figure out your problem.
Cheers!
Upvotes: 8