So I heard about a new Ruby gem that we might be using for our project. My work computer is still windows and while I feel like fred flintstone on it, I’m still relatively productive. So I open up my console to install the gem:
https://gist.github.com/673323
Whoops – issue. Wait, I need to install a C compiler to get this to work? That’s not cool. Well, thankfully there’s a devKit that can help!
https://github.com/oneclick/rubyinstaller/wiki/development-kit
This kit will allow you to install gems and automatically compile them with one command. Awesome.
So I start to follow the steps. Going to http://rubyinstaller.org/downloads/ and picking up “DevKit-4.5.00-CCYYMMDD-xxxx-sfx.exe” and extracting it to C:RubyDevKit. So far so good. Then I run the init:
https://gist.github.com/673340
Ok – that works. I open up config.yml in my text editor and add in C:/ruby at the end “below the triple hyphens” as such:
https://gist.github.com/673345
Then I run the review:
https://gist.github.com/673351
Another issue. Quick google search shows that the instructions on how to edit the config.yml aren’t correct. You can remove the “— []” line before pointing it to your ruby install path.
Once I did that, it worked like a charm:
Leave a Reply