我在本地为我的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'之后,服务器也需要很长时间才能重新启动,然后会再次显示该消息。为什么这样?
答案 0 :(得分:2)
gem update --system
摆脱这条消息对我有用。
答案 1 :(得分:1)
我遇到了同样的问题。通过查看gem pristine --all
的输出,我看到有几个宝石被跳过了
Skipped bigdecimal-1.1.0, it is bundled with old Ruby
我手动重新安装这些宝石以消除消息
gem uninstall bigdecimal
gem install bigdecimal