Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译的时候出现了问题,bundle install failed...,懂ruby的同学请帮忙confirm一下 #70

Closed
archersmind opened this issue Jun 12, 2015 · 6 comments

Comments

@archersmind
Copy link
Contributor

本来是打算看 issue #48 的,结果在使用bundle的时候就出现了如下错误,但是都找到了解决方法,现在请大家一起帮忙看下,我完全不懂 ruby之类的东西,以下方法全部google得来。

. ruby官方的源貌似不太问题,执行 bundle install 的时候,常常报网络异常。

==> 参考解决方法 http://ruby.taobao.org/[] 将官方源换成 taobao提供的镜像

. kindlegen 这个工具在 bundle install 会报错,progit 其他repo也遇到类似问题

==> 类似问题 tdtds/kindlegen#12
==> 参考解决方案 progit/progit2#215

@archersmind
Copy link
Contributor Author

@tonghuix 这个你的 issue #48 background 相同,请帮忙看下,谢谢

@archersmind archersmind mentioned this issue Jun 12, 2015
95 tasks
@archersmind archersmind changed the title 编译的时候出现了问题,bundle i 编译的时候出现了问题,bundle install failed... Jun 12, 2015
@archersmind
Copy link
Contributor Author

建议:

1, 修改Gemfile 文件,将官方源改成淘宝源。
2, update kindlegen2.9.4 版本

@archersmind archersmind changed the title 编译的时候出现了问题,bundle install failed... 编译的时候出现了问题,bundle install failed...,懂ruby的同学请帮忙confirm一下 Jun 12, 2015
@Lax
Copy link
Contributor

Lax commented Jun 12, 2015

淘宝源的更改不建议合并,因为这假设了所有人都在国内。
bundler install 只是第一次 setup 环境时需要执行,如果报错可以只在本地更改淘宝源先把依赖包装上,以后就可以使用了,没必要合并进来。

@devbean
Copy link
Member

devbean commented Jun 12, 2015

建议只修改自己的文件,而不是直接提交修改过的文件;否则官方也有可能编译出错。

@tonghuix
Copy link
Contributor

我是全程翻墙下载和安装的。。。

@archersmind
Copy link
Contributor Author

OK,那我们可以加一个说明的note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants