Installing bcrypt-ruby gem on Windows

后端 未结 7 2244
夕颜
夕颜 2020-12-29 16:07

I\'m trying to install bcrypt-ruby on Windows Vista.

So far, I have been able to install nmake.exe from a MS knowledge base article and cl.exe from installing Visual

7条回答
  •  忘掉有多难
    2020-12-29 16:32

    To be able to build a gem extension for One-Click Installer (OCI) you need VC6. Mxing and matching different versions of newer Visual Studio will fail or will generate unknown errors during runtime.

    I would recommend avoid all these hassles and proceed with the successor of One-Click, which is called RubyInstaller.

    1. Download and install either 1.8.6 or 1.9.1 RC1 packages, announced at RubyForge
    2. Download the Development Kit, and unpack it on your Ruby installation
    3. Follow INSTALL.txt instructions to adjust the DevKit to the location you extracted it
    4. Proceed with gem install bcrypt-ruby, will work out of the box

    For more details about using other gems or Rails with this newer version, please see the tutorials section in our Wiki.

    Hope this helps.

提交回复
热议问题