我在本地为我的 Rails 应用程序运行瘦服务器。每次启动它时,我都会收到以下消息:
Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use bundle --path) will improve the startup performance of Spring.
即使在我运行命令“gem pristine -all”后,服务器重新启动也需要很长时间,然后消息再次出现。为什么会这样?
最佳答案
gem update --system
删除消息对我有用。
关于ruby-on-rails - 运行 `gem pristine --all` ... 将提高 Spring 的启动性能。 (实际上并没有这样做),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28734847/