捆绑安装不能脱机工作 [英] Bundle install not working offline

查看:118
本文介绍了捆绑安装不能脱机工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到了这个问题。我认为安装了bundler。而且由于我无法在RoR中创建应用程序时进行捆绑安装,也无法在项目中捆绑安装直接安装。
如果您有任何问题并找到解决方案,请帮助我。

 在此输入代码:run bundle install 
:从https://rubygems.org/获取宝石元数据。
:请求依赖API期间的错误Bundler :: HTTPError
:从https://rubygems.org/获取完整源索引
:无法访问https://rubygems.org/


解决方案

如果您安装了宝石,可以使用 bundle install --local 。它不需要互联网连接


I got this issue. I think got bundler installed. And since than I am not able to bundle install while creating app in RoR, or bundle install direct within the project. Kindly help me if you got any issue and found the solution for this.

enter code here     :run  bundle install
:Fetching gem metadata from https://rubygems.org/.
:Error Bundler::HTTPError during request to dependency API
:Fetching full source index from https://rubygems.org/
:Could not reach https://rubygems.org/

解决方案

If you have your gems installed, you can use bundle install --local. It is not require internet connection

这篇关于捆绑安装不能脱机工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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