OpenSSL causing very slow Rails boot time on Windows

前端 未结 3 1485
别那么骄傲
别那么骄傲 2021-01-18 21:24

I\'m having a problem with Ruby on Rails running extremely slowly. I\'m using Ruby 2.1.3p242 and Rails 4.2.1 on a Windows 8 machine.

Whenever I run anything that req

3条回答
  •  甜味超标
    2021-01-18 22:18

    Putting this in my config/application.rb (before require 'rails/all') speeds up rails s by 10-15 seconds on windows.

    require 'securerandom'
    SecureRandom.hex(16)
    

提交回复
热议问题