following install docs on ubuntu 13.10 bundle install fails (rubygems version)
Closed
following install docs on ubuntu 13.10 bundle install fails (rubygems version)
Created by: karlhungus
Get a message
{22:24}~/gitlab/gitlab:master ✓ ➭ bundle install --without postgres aws
Fetching source index from https://rubygems.org/
Installing rake (10.1.0)
Errno::EACCES: Permission denied - /usr/local/lib/ruby/gems/2.0.0/build_info/rake-10.1.0.info
An error occurred while installing rake (10.1.0), and Bundler cannot continue.
Make sure that `gem install rake -v '10.1.0'` succeeds before bundling.
Running these commands seem fixes the issue (may want to note this in the docs)
gem install rubygems-update
update_rubygems
gem update --system
Leached from here: http://stackoverflow.com/questions/13626143/how-to-upgrade-rubygems, which was pointed out here: https://github.com/bundler/bundler/issues/2445
Might due to include this docs here: https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md#install-gems, this isn't really a gitlab problem, but it may frustrate potential users, of course it should proably be removed if rubygems version is greater than 2.1.9
Created by: Razer6
It's been at least 2 weeks (and a new release) since we heard from you. I'm closing this issue but if you still experience this problem, please open a new issue (but also reference the old issue(s)). Make sure to also include the necessary debugging information conforming to the issue tracker guidelines found in our contributing guidelines.
By Administrator on 2014-02-09T18:19:35 (imported from GitLab project)