[Pkg-mozext-commits] [itsalltext] 441/459: Workaround FTBFS in minimal chroot

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit 971755007b7700feba4f0559c9f59ed987c0525b
Author: David Prévot <taffit at debian.org>
Date:   Thu Jul 18 12:22:25 2013 -0400

    Workaround FTBFS in minimal chroot
    
    rake aborted!
    invalid byte sequence in US-ASCII
    …/Rakefile:51:in `block in load_dtd_entities'
    …/Rakefile:50:in `map'
    …/Rakefile:50:in `load_dtd_entities'
    …/Rakefile:56:in `find_dtd_errors'
    …/Rakefile:103:in `block in diff_locale'
    …/Rakefile:94:in `each'
    …/Rakefile:94:in `diff_locale'
    …/Rakefile:41:in `block (2 levels) in <top (required)>'
    …/Rakefile:41:in `each'
    …/Rakefile:41:in `block in <top (required)>'
    
    Bug-Debian: https://bugs.debian.org/739774
---
 Rakefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Rakefile b/Rakefile
index 4d36652..82870b9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,3 +1,7 @@
+if RUBY_VERSION >= '1.9'
+	Encoding.default_external = Encoding::UTF_8
+	Encoding.default_internal = Encoding::UTF_8
+end
 require_relative 'version'
 require 'paint'
 require 'set'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list