Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of Bundle Install

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to solve the problems related to Bundle Install. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

At first, bundle install is executed directly in CMD

It was found that any dependent packages for the rails project could not be downloaded and could not be relied on from github clone.

The first problem that comes to mind is the problem of agency, because agents are used within the company.

OK, set up the proxy.

Set http_proxy= http://ip:port

Continue to execute bundle install

Found that the dependency package could be downloaded, but still could not download the dependency package from github clone

After querying, it is found that git itself also needs to set up a proxy:

Git config-- global http.proxy http://ip:port

When the OK setup is complete, continue and execute the bundle install

Found still unable to download dependencies, still reported the error in the above picture.

I can download it directly using the git clone https://*****.git command, which is very confusing.

Later, it was found that the command bundle install called from github was git clone git://****.git.

So as soon as you search, the solution comes:

Use https download method instead of git

Git config-- global url. "https://".insteadOf git://

Execute bundle install again, all the way unblocked!

How to solve the problem of Bundle Install is shared here. I hope the above content can help you to some extent and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report