title: Error installing debugger-linecache: ERROR: Failed to build gem native extension
body: <p>I am trying to bundle install but it is showing the above error or debugger..Please find the detailed error from the terminal</p>
  
  <pre class="lang-none prettyprint-override"><code>Installing debugger-linecache (1.1.1) with native extensions
  Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  
          /usr/local/ruby/bin/ruby extconf.rb
  checking for vm_core.h... no
  checking for vm_core.h... no
  Makefile creation failed
  ************************************************************************** 
  No source for ruby-1.9.2-p0 provided with debugger-ruby_core_source gem.
  **************************************************************************
  *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of
  necessary libraries and/or headers.  Check the mkmf.log file for more
  details.  You may need configuration options.
  
  Provided configuration options:
          --with-opt-dir
          --without-opt-dir
          --with-opt-include
          --without-opt-include=${opt-dir}/include
          --with-opt-lib
          --without-opt-lib=${opt-dir}/lib
          --with-make-prog
          --without-make-prog
          --srcdir=.
          --curdir
          --ruby=/usr/local/ruby/bin/ruby
          --with-ruby-dir
          --without-ruby-dir
          --with-ruby-include
          --without-ruby-include=${ruby-dir}/include
          --with-ruby-lib
          --without-ruby-lib=${ruby-dir}/lib
  
  
  Gem files will remain installed in /usr/local/ruby/lib/ruby/gems/1.9.1/gems/debugger-linecache-1.1.1 for inspection.
  Results logged to /usr/local/ruby/lib/ruby/gems/1.9.1/gems/debugger-linecache-1.1.1/ext/trace_nums/gem_make.out 
  
  An error occured while installing debugger-linecache (1.1.1), and Bundler cannot continue.
  Make sure that `gem install debugger-linecache -v '1.1.1'` succeeds before bundling.
  </code></pre>
  
  <p>If i type ruby-v in the terminal I get
  <code>ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]</code></p>
  
  <p>If I do <code>gem install debugger-linecache</code> I still get the same error.
  How this can be solved. Please help??</p>