ruby-debug with Ruby 1.9.3?

前端 未结 9 1294
甜味超标
甜味超标 2020-11-28 04:41

I just updated to Ruby 1.9.3p0 and Rails 3.1.1. Now when I try to launch the server, it complains that I should install ruby-debug, even though it\'s already in

9条回答
  •  独厮守ぢ
    2020-11-28 05:38

    BTW, if you use the newest patch for ruby1.9.3 (falcon, https://gist.github.com/1688857), use following commands

    wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
    wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
    
    gem install linecache19-0.5.13.gem
    ## with rvm: 
    gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$HOME/.rvm/src/ruby-1.9.3-p0-falcon
    ## with rbenv (this is a guess): 
    gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$HOME/.rbenv/source/ruby-1.9.3-p0-falcon
    

提交回复
热议问题