I have tried to boot WEBrick, though I suffered the problem like i18n
method not found.
How can I recover from this problem?
$ ruby script/server
=> Booting WEBrick…
/home/user/ror/design_qr/config/environment.rb:56: undefined method
i18n' for #<Rails::Configuration:0xb77ce3ec> (NoMethodError) from ./script/../config/../vendor/rails/railties/lib/initializer.rb:91:in
run’
from /home/user/ror/design_qr/config/environment.rb:19
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
from
/home/user/ror/design_qr/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
require' from /home/user/ror/design_qr/vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
new_constants_in’
from
/home/user/ror/design_qr/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
require' from /home/user/ror/design_qr/vendor/rails/railties/lib/commands/servers/webrick.rb:59 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require’
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from /home/user/ror/design_qr/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
require’
from
/home/user/ror/design_qr/vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in
new_constants_in' from /home/user/ror/design_qr/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in
require’
from
/home/user/ror/design_qr/vendor/rails/railties/lib/commands/server.rb:39
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
from script/server:3
Hope it would be your help to understand the problem.
$ gem list
*** LOCAL GEMS ***
actionmailer (2.2.3)
actionpack (2.2.3)
activerecord (2.2.3)
activeresource (2.2.3)
activesupport (2.2.3)
amatsuda-i18n_generators (0.6.0)
gettext (2.1.0)
i18n (0.3.7)
locale (2.0.5)
rails (2.2.3)
rake (0.8.7)
thanks