Hi all,
where does Locale come from? In script/console it’s available, in irb it
is not.
The pickaxe does not know it.
Grepping for it in /usr/lib/ruby/gems/1.8/gems doesn’t yield anything at
all.
Grepping for it in /usr/lib/ruby tells me that it is defined in a file
called
/usr/lib/ruby/1.8/irb/locale.rb, and that /usr/lib/ruby/1.8/irb/init.rb
actually
instantiates it?! (The Locale in script/console doesn’t have a `new’
method).
I’m asking because I need to use this in routes.rb…
Regards,
Raphael