I\'m setting up a ruby Apache Buildr on a fresh Windows 7 machine. I\'ve installed Ruby, the DevKit and installed buildr via
gem install buildr
Had the same problem. I have Windows 7 x64 so installed again with gem install buildr --platform mswin64
and it worked.
Installed Ruby 1.8.7 instead and it works now.
I had a similar problem in the past.
My problem was the kind of installation. I installed ruby as admin (target was c:\program files). Everything worked fine - until I installed a gem as normal user (not admin).
What happened on windows side? I have no authorization for c:\program files, the gem was installed in another directory (No, there was no error, Windows just decided to use another directory. This bug/feature is called 'Virtual Store').
In the end Ruby had problems to find the files.
My solution: Install ruby as normal user outside c:\program files.
Maybe it is enough, when you install your gems as admin (but attention: if you have once files in your Virtual store, they are read always first.).