本文介绍了在Windows上安装bcrypt-ruby gem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Windows Vista上安装。
I'm trying to install bcrypt-ruby on Windows Vista.
到目前为止,我已经能够从安装Visual Studio 2008 Express的MS知识库文章和cl.exe中安装nmake.exe。
So far, I have been able to install nmake.exe from a MS knowledge base article and cl.exe from installing Visual Studio 2008 Express.
然而,我现在遇到这个错误:
However, I am now encountering this error:
下载 devkit-< version> .7z 一>;
将其解压到Ruby目录中(例如, C:\Ruby ,这样您将拥有 C:\Ruby\devkit ;
从命令行输入: gem install bcrypt-ruby 。
- Download devkit-<version>.7z from here;
- unpack it in the Ruby directory (for instance, C:\Ruby, so that you'll have C:\Ruby\devkit;
- from command line, type: gem install bcrypt-ruby.
这篇关于在Windows上安装bcrypt-ruby gem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!