I am looking at the current script that I am bug hunting my issue and see 
there is not an update_code method in the script yet it is being called. If 
I copy the script from the capitrano gem and put it into my deploy script 
 and then comment out he portion of the rollback, I assume that would work 
right?

On Tuesday, December 17, 2013 8:49:12 PM UTC-5, dbray wrote:
>
> 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] <javascript:>> 
> 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] <javascript:>.
> 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/23e43212-b3c7-4c25-8c49-e7fb2304ba18%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to