Re: ruby-gettext-setup: FTBFS
On 4/5/18, Georg Faerber <email@example.com> wrote:
>> /usr/lib/ruby/vendor_ruby/gettext/tools/parser/ruby.rb is UTF-8 file,
Oops, wrong file. spec/lib/gettext-setup/gettext_setup_spec.rb is a proper one.
> Please go ahead and feel free to fix the package; I failed to do so
> yesterday, but I've to admit, I didn't spent much time. Also, my local
> setup is currently broken.
Please see attached file. It fixes the failure.
diff -uNr gettext-setup-0.30.orig/spec/lib/gettext-setup/gettext_setup_spec.rb gettext-setup-0.30.new/spec/lib/gettext-setup/gettext_setup_spec.rb
--- gettext-setup-0.30.orig/spec/lib/gettext-setup/gettext_setup_spec.rb 2018-02-21 05:04:10.000000000 +0300
+++ gettext-setup-0.30.new/spec/lib/gettext-setup/gettext_setup_spec.rb 2018-04-11 10:19:09.407049739 +0300
@@ -1,3 +1,4 @@
+# encoding: utf-8