Ruby for Windows with debug support

Posted by – February 10, 2010

I mentioned somewhere in previous posts I am playing a little with Ruby and Ruby on Rails. Because I do not have an experience yet, there are a lot of situations where I need a debugger to figure out how something works. Unfortunately before I was able to debug anything I spend a lot of time trying to enable debugging in RubyMine. The main problem was in Ruby gems responsible for debugging. This gems are native C libraries and have to be compiled before usage. Of course you can guess that compilation did not work as expected. After long fight and few hours with Google I have managed to prepare a version of Ruby which can be used with RubyMine to debug applications.

Because Ruby for Windows does not require any installation I am able to easily provide you the version I have build mostly in order to save your time and do not describe whole procedure I had to follow during compilation.

The package contains Ruby 1.8.7 for Windows with following gems:

  • actionmailer (2.3.5)
  • actionpack (2.3.5)
  • activerecord (2.3.5)
  • activeresource (2.3.5)
  • activesupport (2.3.5)
  • albacore (0.1.1, 0.1.0)
  • columnize (0.3.1)
  • linecache (0.43)
  • net-sftp (2.0.4)
  • net-ssh (2.0.19)
  • rack (1.1.0, 1.0.1)
  • rails (2.3.5)
  • rake (0.8.7)
  • RedCloth (4.2.2)
  • ruby-debug (0.10.3)
  • ruby-debug-base (0.10.3)
  • ruby-debug-ide (0.4.9)
  • rubyzip (0.9.4, 0.9.1)
  • sqlite3-ruby (1.2.5)

Installation is very simple. Uncompress files to C:\Ruby directory and add C:\Ruby\bin path to PATH environment variable.

Download Ruby 1.8.7 for Windows with debug support

Hey, keep in touch!! Follow me on Twitter, @marcinobel or subscribe to this blog.
1 Comment on Ruby for Windows with debug support

Respond | Trackback

  1. Luis Lavena says:


    By chance did you tried RubyInstaller? I think you based 1.8.7 on downloads from ruby-lang, which are based in old Visual C 6 compilations.

    RubyInstaller is based on GCC, and you can compile all the gems using the Development Kit we pre-packaged for this.

    Please read more in the website, the Wiki and the Release at RubyForge: