刚刚解决了我的问题(在失去神经 14 小时后......)
官方指南中的“安装宝石”都可以。
然后我在这里试过这个:
$ sudo bundle install --path vendor/bundle
比我从http://bb-m.rubygems.org/gems/rake-10.1.0.gem(使用 wget)下载“rake”到“/home/git/gitlab/vendor/bundle/ruby/2.0 .0/缓存”目录
赋予它所有权利(chmod 777 rake ....)
然后尝试了这个:
$ sudo -u git -H bundle install --verbose --deployment --without development test postgres aws
并且->
Your bundle is complete!
Gems in the groups development, test, postgres and aws were not installed.
It was installed into ./vendor/bundle
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
Post-install message from httparty:
When you HTTParty, you must party hard!