Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>UPDATE: </p> <p>Looks like you only need to put this in your gemfile: </p> <p>gem "debugger"</p> <p>and now works. </p> <p>Old article follows</p> <p>====================================</p> <p>Jerome is correct, but lacking in the details. Here is the blow by blow, taken from this <a href="https://gist.github.com/1331533">https://gist.github.com/1331533</a>, in particular thanks to andrewroth's post. I've tested this as of the time of this post. One hopes that the changes will be deployed somewhere standard soon.</p> <pre><code>Installing ruby debugger on ruby 1.9.3-p125: export PATCH_LEVEL=`ruby -e 'puts RUBY_PATCHLEVEL'` export RVM_SRC=$HOME/.rvm/rubies/ruby-1.9.3-p$PATCH_LEVEL/include/ruby-1.9.1 gem install archive-tar-minitar gem install ruby_core_source -- --with-ruby-include=/$RVM_SRC export RVM_SRC=$HOME/.rvm/rubies/ruby-1.9.3-p$PATCH_LEVEL/include/ruby-1.9.1/ruby-1.9.3-p$PATCH_LEVEL wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem wget http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RVM_SRC # if that step failed, and you are running OSX Lion, then following this post can help you: # http://stackoverflow.com/questions/8032824/cant-install-ruby-under-lion-with-rvm-gcc-issues # this happens if you recently installed xcode from the app store. # bizarrely, for me I had to do this: ln -s /usr/bin/gcc /usr/bin/gcc-4.2 gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC Then edit Gemfile: gem 'linecache19', '0.5.13', :path =&gt; "~/.rvm/gems/ruby-1.9.3-p#{RUBY_PATCHLEVEL}/gems/linecache19-0.5.13/" gem 'ruby-debug-base19', '0.11.26', :path =&gt; "~/.rvm/gems/ruby-1.9.3-p#{RUBY_PATCHLEVEL}/gems/ruby-debug-base19-0.11.26/" gem 'ruby-debug19', :require =&gt; 'ruby-debug' Then install: bundle install </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload