I want to deploy my simple rails 4.0 application via capistrano 3.0.
rails 4.0
capistrano 3.0
I use bundler 1.3.5 so I add capistrano-bundler gem to integ
bundler 1.3.5
This works in capistrano 3:
task :bundle_list do on roles(:app) do within release_path do with rails_env: fetch(:rails_env) do execute :bundle, "list" end end end end
Use this for rake task :
execute :rake, 'some_rake_task'