A few weeks back I posted about getting the ruby-debug-ide gem installed in Windows under Ruby 1.8.6. In that post I outlined how hacking a header file and using the Visual C++ 2008 compiler could be leveraged to get the gem built and installed properly. Well, after a helpful comment from a reader and watching a few screencasts over on TekPub, I actually found a way to do this with Ruby 1.9.1 from RubyInstaller.org.
As you know, I swapped my Windows development environment for Mac OSX, and so far learning Rails has been a great pleasure thanks to Agile Web Development with Rails (Third Edition) from The Pragmatic Programmers. When I found this alternate method for installing ruby-debug-ide I decided to fire up my Windows 7 VM and give it a go. Here are the gems I have currently installed on my VM:
To get this working on my VM, here’s the steps I followed:
gem install rails gem install mongrel gem install cucumber gem install rspec gem install ruby-debug-ide
That’s it! If you run into any weird issues, let me know in the comments. Enjoy your new Windows-based Ruby on Rails development environment running the latest and greatest Ruby 1.9.1!
Hello Scott,
Nice write up!
As developer of RubyInstaller project I would like to add your tutorial to our Wiki page:
http://wiki.github.com/oneclick/rubyinstaller/tutorials
For others to find reference in the future about installing the DevKit and installing gems for it.
Also, compare the your previous post about installation of ruby-debug-ide, seems that the whole scenario has improved, don’t you think?
Will love to hear your thoughts on this as you now have migrated to other environment and have a better point of comparison.
Cheers!
Thanks Luis! This is definitely a much better option for most than building from VC++ 2008. I really think the RubyInstaller project is great, and I’m happy to contribute! The only thing you might want to consider is adding the devkit installation as an optional part of the 1.9.x installer (maybe another checkbox or something).
Thanks for the hard work
Thanks Scott for this great tutorial… I was lost and I found the path with this information…
Could not find main page README.rdoc
Thank you so much, I have been searching for an article on this for weeks! It’s amazing how information and technology can get the best of us sometimes!