Ruby 1.9.3 p125 安装ruby-debug_Ruby_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > Ruby > Ruby 1.9.3 p125 安装ruby-debug

Ruby 1.9.3 p125 安装ruby-debug

 2012/4/10 13:52:12  夜鸣猪  程序员俱乐部  我要评论(0)
  • 摘要:运行下面的shell安装新版gem#Installwith:#bash<<(curl-Lhttps://raw.github.com/gist/1891192)##Reference:http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debugecho"Installingruby-debugwithruby-1.9.3-p125..."curl-OLhttp://rubyforge.org/frs/download
  • 标签:Ruby 安装 debug
运行下面的shell安装新版gem


# Install with:
# bash < <(curl -L https://raw.github.com/gist/1891192)
#
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug

echo "Installing ruby-debug with ruby-1.9.3-p125 ..."

curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem

gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p125/

rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem

echo "Done."


修改Gemfile
group :development do
   gem 'linecache19', '0.5.13'
   gem 'ruby-debug-base19', '0.11.26'
   gem 'ruby-debug19', :require => 'ruby-debug'
end


bundle update
发表评论
用户名: 匿名