Could not find linecache-0.43 in any of the sources

Hi Everyone,

I have updated to rails 3. When I try to run my rails server by doing
this command: “rails server”.

I get this error:

"Could not find linecache-0.43 in any of the sources. Try running
‘bundle install’.

I try bundle install and I get another error saying

installing linechaceh <0.43> with native extensions C:/Ruby192/lib/
ruby/1.9.1/rubygems/installer.rb:483:in ‘rescue in block in
build_extensions’: ERROR: Failed to build gem native extension.
Gem::Installer::ExtensionBuildError

C:/Ruby192/bin/ruby.exe extconf.rb
can’t handle 1.9.x yet
extconf.rb failed
Could not create Makefile due to some reason, probably lack of
neccessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
(list of all options)

could someone help me?