Ruby bundle install --deployment

hunter · April 05, 2012 · Last by hunter replied at April 07, 2012 · 3373 hits

rubychina 的 GEM,当指定是:git=>http://github.com/....的时候,老是出现

http://github.com/xdite/bootstrap-rails.git (at master) is not checked out. Please run bundle install 据说这样可以解决问题 bundle install --deployment

..... Your bundle is complete! It was installed into ./vendor/bundle

总算把 spork 起来了。

http会重写向到https,容易只证书产生问题,可以设置下 url 替换,在 git 的 remote 地址是http://github.com的时候,替换成git://github.com

git config --global 'url.git://github.com.insteadOf' 'http://github.com'

我只能用 http 协议,bundle install --deployment 也没有用了,最后只好用本地保存,然后改用:path 绕过去。

You need to Sign in before reply, if you don't have an account, please Sign up first.