主页

运行bundle install 却被直接 killed

2023-10-18 11:42AM

$ bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
Fetching source index from https://gems.ruby-china.com/
^C

Killed

打开 Gemfile 文件:

#source "https://rubygems.org"
source "https://gems.ruby-china.com"

把国内镜像源修改为官网源

source "https://rubygems.org"
#source "https://gems.ruby-china.com"

然后在重新运行 bundle install 就可以了

返回>>

登录

请登录后再发表评论。

评论列表:

目前还没有人发表评论