Hey guys
anyone figured out the solution to this problem?
On Thursday, October 20, 2011 12:54:03 PM UTC+5:30, Ramón Cahenzli wrote:
>
> Hi everyone,
>
> With Ruby 1.8, all our deployment recipes worked fine. But now on 1.9,
> they all fail due to the UTF-8 characters in them. I get this error on
> Capistrano 2.9.0:
>
> /usr/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/buffer.rb:
> 274:in `block in write': incompatible character encodings: ASCII-8BIT
> and UTF-8 (Encoding::CompatibilityError)
>
> As soon as any of my calls to run contain an UTF-8 character. For
> example:
>
> run "sed -i 's|CONTRACT_LENDING_PARTY_STRING.*|
> CONTRACT_LENDING_PARTY_STRING = \"#{contract_lending_party_string}\"|'
> #{configfile}"
>
> If CONTRACT_LENDING_PARTY_STRING contains an UTF-8 character, the step
> fails because run raises that CompatibilityError. The recipe files are
> UTF-8, the default locale on both the server and the client is UTF-8
> as well, so I don't know what could be wrong here. Both systems are
> Debian GNU/Linux 6.0.
>
> Any ideas?
>
> Thanks,
>
> Ramón
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en