Are you able to install any gems at all? If not, then possibly its a problem with the configuration.
If you installed the devkit in the standard way, then the culprit could be incorrect Autorun regex key OR the incorrect command processor set by other tools that interferes with ruby gem installations.
Try the instructions here, and your issue should be solved: https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-gems_fails_comspec_autorun
Let know if you still get the error(s).