gco / rubyripper

Automatically exported from code.google.com/p/rubyripper
0 stars 0 forks source link

Using old gettext API #518

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install the latest version of the gettext gem.
2. Run ./configure --update-lang

What is the expected output? What do you see instead?

I expect configure to succeed, instead it fails with an error.

The latest version of the gettext gem uses a new API to create mofiles.
See here: 
http://rubydoc.info/gems/gettext/GetText#create_mofiles-instance_method

The line in configure:

 GetText.create_mofiles(true, "./locale/po", "./locale")

should be changed to:

 GetText.create_mofiles({:verbose => true, :po_root => "./locale/po", :mo_root => "./locale"})

Regards,
Scott.

Original issue reported on code.google.com by sc...@sl.id.au on 12 Mar 2012 at 10:19

GoogleCodeExporter commented 9 years ago
I've removed all arguments instead which also fixed the crash. See latest git.

Original comment by boukewou...@gmail.com on 12 Mar 2012 at 5:26