Add this to your deploy.rb and unrem as necessary.
# #For troubleshooting only
# namespace :deploy do
# task :update_code, :except => { :no_release => true } do
# #on_rollback { run "rm -rf #{release_path}; true" }
# strategy.deploy!
# finalize_update
# end
# end
> On Dec 17, 2013, at 12:08 PM, Vell <[email protected]> wrote:
>
> Versions:
> Ruby 1.9.2p320
> Capistrano 2.11.2
> Rake / Rails / etc Rake 9.2.2/Rails 3.2.13
> Platform:
> Working on.... CentOS release 6.
> Deploying to...
> Logs:
> ** [out :: rails-192-vmware] ArgumentError: invalid byte sequence in US-ASCII
> ** [out :: rails-192-vmware] An error occured while installing thor
> (0.18.1), and Bundler cannot continue.
> ** [out :: rails-192-vmware] Make sure that `gem install thor -v '0.18.1'`
> succeeds before bundling.
> command finished in 46213ms
> *** [deploy:update_code] rolling back
>
> Files:
> Capfile
> deploy.rb
> Stage files (production.rb, staging.rb)
> Hello all,
>
> I am trying to understand how I can briefly turn off the rollback feature for
> capistrano 2.11.2 so that I can figure what the error is that occurred with a
> gem install during bundle install.
>
> As it stands, I was able to install thor using gem install but yet bundler is
> still complaining. Is there a way that I can turn that I can turn off the
> rollback so that I can fun the specific common din the cap file and see what
> the complaint is?
>
> Thanks
> --
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/d240a995-d4fb-4148-918a-7c55973c01b7%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/capistrano/DD0C0A8B-1010-47CF-BE25-73CE4149D42D%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.