我是装linecache19出的问题
gem install linecache19-0.5.13.gem
引用
Installing linecache19 (0.5.12) with native extensions
/Users/joseph/.rvm/rubies/ruby-1.9.2p290/lib/ruby/site_ruby/1.9.1/rubygems/
installer.rb:552:in `rescue in block in build_extensions':
ERROR: Failed to build gem native extension. (
Gem::Installer::ExtensionBuildError)
/Users/joseph/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
问题ms是rvm找不到ruby对应
版本,所以就
gem install ruby-debug19 -- --with-ruby-include=$rvm_path/src/ruby-1.9.2-p290
gem 'linecache19', :git => 'git://github.com/mark-moseley/linecache'
gem 'ruby-debug-base19x', '~> 0.11.30.pre4'
gem 'ruby-debug19'