捆绑安装冻结我的Rails应用程序 [英] Bundle Install Freezes for my Rails App

查看:110
本文介绍了捆绑安装冻结我的Rails应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

偶尔在使用Rails应用程序时,运行 bundle install 命令在处理Rails Gemfile时会冻结。我已经尝试清除缓存,但没有任何改进。 确保仔细检查并确保您宣布导轨版本。在没有声明版本的情况下,Bundler最终可能会试图评估依赖关系。



回答我自己的问题,因为我找到了适合我的答案。


Occasionally while working with a Rails app, running the bundle install command freezes while dealing with the Rails Gemfile. I've tried clearing out the cache to no improvement.

解决方案

Be sure to double check and ensure that you're declaring a version of rails. Without declaring a version, the Bundler can end up going in circles trying to evaluate dependencies.

Answering my own question since I found the answer that worked for me.

这篇关于捆绑安装冻结我的Rails应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆