configuration issue (Uninitialized constant Aftimagr (NameError) )

Hello All

I am getting this error, any one resolved this..... it's urgent

ruby script/server --debugger => Booting WEBrick... => Debugger enabled config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem capistrano-ext-1.2.1 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem ruby-openid-2.1.2 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem rspec-1.1.11 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem mislav-will_paginate-2.3.6 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:445:in `load_missing_constant': uninitialized constant Aftimagr (NameError)   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in `const_missing'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in `const_missing'   from /home/nimish/Akeel/Project/COOP/rails/config/initializers/aftimagr.rb:1   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load_without_new_constant_marking'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:550:in `load_application_initializers'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:549:in `each'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:549:in `load_application_initializers'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:167:in `process'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run'   from /home/nimish/Akeel/Project/COOP/rails/config/environment.rb:13   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 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/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 /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'   from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'   from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49   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

Thanks Akeel Qureshi

Hello All

I am getting this error, any one resolved this..... it's urgent

ruby script/server --debugger => Booting WEBrick... => Debugger enabled config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.

I don't know anything about the problem, but the first thing I would do in your situation is to follow the advice above. If you have already tried this then report the result. Also tell us which versions of rails and ruby you are using please.

Colin