Hi all, i’m having a problem with i18n gem.
First, I froze rails into the vendor folder: that worked fine.
For i18n, i installed a gem called svenfuchs-i18n:
gem list | grep i18n
=>svenfuchs-i18n (0.2.0)
I then froze it into my vendor folder, this worked fine:
Unpacked gem:
‘/home/max/work/millionaire_container/millionaire/vendor/gems/svenfuchs-i18n-0.2.0’
I reference it in my environment.rb thus:
config.gem “svenfuchs-i18n”, :version => ‘0.2.0’
And that’s where the problem happens: trying to load the app in the
console (just to check if the config stuff worked), i get
no such file to load – svenfuchs-i18n
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
require’
/home/max/work/millionaire_container/millionaire/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
`require’
…etc
I don’t understand what i’m doing wrong here…i tried config.gem ‘i18n’
but it complains that i don’t have the gem.
grateful for any advice - max