首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >正在运行‘`gem pristine --all`’...将提高Spring的启动性能。(实际上不是这样做的)

正在运行‘`gem pristine --all`’...将提高Spring的启动性能。(实际上不是这样做的)
EN

Stack Overflow用户
提问于 2015-02-26 13:07:34
回答 2查看 1.8K关注 0票数 5

我在本地为我的Rails应用程序运行瘦服务器。每次启动它时,我都会收到以下消息:

代码语言:javascript
复制
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‘之后,服务器也需要很长时间才能重新启动,然后该消息再次出现。为什么会这样呢?

EN

回答 2

Stack Overflow用户

发布于 2015-12-01 15:56:35

gem update --system去掉这条消息对我来说很有效。

票数 2
EN

Stack Overflow用户

发布于 2015-04-28 17:27:24

我也有同样的问题。查看gem pristine --all的输出,我看到有几个gem被跳过,并显示如下消息

代码语言:javascript
复制
Skipped bigdecimal-1.1.0, it is bundled with old Ruby

我手动重新安装了这些get以删除该消息。

代码语言:javascript
复制
gem uninstall bigdecimal
gem install bigdecimal
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28734847

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档