I installed Bitnami Gitlab version 7.0 a long time ago and am now looking to upgrade to latest version of GitLab.
First, I followed the following instructions to manually upgrade GitLab to version 7.14:
GitLab Community Edition (CE) is an open source end-to-end software development platform with built-in version control, issue tracking, code review, CI/CD, and more. Self-host GitLab CE on your own servers,...
However, GitLab version 7.14 requires a newer Ruby version:
bitnami@linux:/opt/bitnami/apps/gitlab/htdocs$ sudo -u git -H bundle exec rake gitla b:env:info RAILS_ENV=production
/opt/bitnami/apps/gitlab/htdocs/vendor/bundle/ruby/1.9.1/gems/rouge-1.9.1/lib/rouge/ lexers/shell.rb:20: warning: already initialized constant KEYWORDS
/opt/bitnami/apps/gitlab/htdocs/vendor/bundle/ruby/1.9.1/gems/rouge-1.9.1/lib/rouge/ lexers/shell.rb:25: warning: already initialized constant BUILTINS
Bundler::GemRequireError: There was an error while trying to load the gem 'sidekiq'.
Gem Load Error is: Sidekiq 3.3.0 does not support Ruby 1.9.
I see that the root user is using the Ruby version in /opt/bitnami/ruby/bin :
bitnami@linux:/opt/bitnami/ruby/bin$ sudo which ruby
How can I go about upgrading the version of Ruby inside /opt/bitnami/ruby? Am I supposed to delete the bitnami/ruby directory and copy a new ruby folder on top of it? As
@huyttq mentioned, it seems alot of dependencies will break if I do that.
The link you gave:
Explains how to upgrade GitLab inside Bitnami, but unless I missed it, it doesn't explain how to upgrade the version of Ruby inside Bitnami.
Any help is appreciated