[Re-post from Ruby list, where this didn’t belong. Sorry for the noise.]
Hi all!
Following the guide at Peak Obsession,
I’m trying to i18n a Rails application. However, when executing ‘rake
updatepo’, I get the following error message:
"numeric literal without digits"
Searching Google and the mailing list archives yields only two hints.
(1) install ruby 1.8.4 and (2) make sure there’s an empty line at the
end of each file. Although I can’t seem to find the sense in the second
one, I’ve made sure my environment complies with both.
The error message still doesn’t go away… I’d be darn grateful for any
pointers that you might have
Okay, the problem solved itself. Apparently using the Dapper Drake
.debs in Ubuntu Breezy Badger in order to get ruby 1.8.4 running isn’t
the best idea (it’s suggested when you search Google).
I’ve now compiled Ruby 1.8.4 by hand and it rgettext works.
Although now it says
no such file to load – gettext/utils
coming from the line “require ‘gettext/utils’” in the Rakefile. You
guys wouldn’t know how to solve that one, would you?