Installing bcrypt-ruby gem on Windows

后端 未结 7 2158
夕颜
夕颜 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:46

    On Windows Server 2003 (Ruby 1.8.6), the plain vanilla:

    gem install bcrypt-ruby
    

    worked like a charm.
    Note that if you want to use it with Rails, you must use:

    config.gem 'bcrypt-ruby', :lib => 'bcrypt'
    
    0 讨论(0)
提交回复
热议问题