rdebug 1.9

I’m running rvm and have ruby 1.9.2-p136 installed. Unfortunately, gem install ruby-debug throws all sorts of errors so I fumbled around and found this post:

http://dirk.net/2010/04/17/ruby-debug-with-ruby-19x-and-rails-3-on-rvm/

Which summarized a post by Mr. RVM himself:

https://rvm.beginrescueend.com/support/troubleshooting/

But I continued to receive errors when I ran the following command:

gem install ruby-debug19 -- --with-ruby-include="$rvm_src_path/$(rvm tools identifier)/"

I discovered I didn’t have the $rvm_src_path environment variable set anywheres! I fixed that problem by adding the following line to the end of my ~/.bashrc file:

export rvm_src_path="$rvm_path/src"

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Twitter
This entry was posted in Linux, Ruby, Technology. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>