Forum: Ruby on Rails GetText.update_pofiles: seeking help with error message

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
77961c972c437d6801714f45c3f2cc3c?d=identicon&s=25 Raphael Schmid (rapha)
on 2006-05-01 14:19
[Re-post from Ruby list, where this didn't belong. Sorry for the noise.]

Hi all!

Following the guide at http://manuals.rubyonrails.com/read/chapter/105,
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 :-)

Best regards from Germany,
Raphael
77961c972c437d6801714f45c3f2cc3c?d=identicon&s=25 Raphael Schmid (rapha)
on 2006-05-01 17:31
> [...]
>     "numeric literal without digits"
> [...]

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? :-)

Bests, Raphael
77961c972c437d6801714f45c3f2cc3c?d=identicon&s=25 Raphael Schmid (rapha)
on 2006-05-01 18:09
> coming from the line "require 'gettext/utils'" in the Rakefile. You
> guys wouldn't know how to solve that one, would you? :-)

And that is also solved.
Thanks for the nice chat everybody :-)

... it's all just glitches with the installation here.
This topic is locked and can not be replied to.