x4k*_*k3p 2 ruby installation gem bundle gitlab
我慢慢地在这里绝望.我按照GitHub上的官方指南设置了GitLab.
最多"捆绑安装"任何事情都没关系.但如果我在这里尝试:
$ sudo -u git -H bundle install --deployment --without development test postgres aws
Run Code Online (Sandbox Code Playgroud)
它依赖于"从https://rubygems.org/获取源索引"
更改gemfile中的内容会产生更多麻烦......
如果已安装rake,则会触发此错误消息:
$ sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production
Could not find rake-10.1.0 in any of the sources
Run `bundle install` to install missing gems.
Run Code Online (Sandbox Code Playgroud)
该怎么办?为什么它比需要的更复杂?如果有人可以提供帮助,我会很高兴.
谢谢.
刚刚解决了我的问题(失去了我的神经14小时......)
官方指南中的"安装宝石"是可以的.
然后我在这里试过这个:
$ sudo bundle install --path vendor/bundle
Run Code Online (Sandbox Code Playgroud)
比我从http://bb-m.rubygems.org/gems/rake-10.1.0.gem(带wget)下载"rake" 到"/home/git/gitlab/vendor/bundle/ruby/2.0 .0/cache"dir
给予它所有权利(chmod 777 rake ....)
然后尝试了这个:
$ sudo -u git -H bundle install --verbose --deployment --without development test postgres aws
Run Code Online (Sandbox Code Playgroud)
而且 - >
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!
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3667 次 |
| 最近记录: |