Okay I found a real simple solution, but beware you need to do it after each update and so on, and it isn't the "supported" way I think. But I want to use the Omnibus packages and don't to install all requirements like ruby to run GitLab.
1. Edit* /etc/gitlab/gitlab.rb* for mysql database 2. > > apt-get install libmysqlclient-dev > gitlab-ctl reconfigure > > cd /opt/gitlab/embedded/bin/ > ./gem install -i /opt/gitlab/embedded/service/gem/ruby/2.0.0 mysql2 > -v0.3.11 > > Fetching: mysql2-0.3.11.gem (100%) > Building native extensions. This could take a while... > Successfully installed mysql2-0.3.11 > Parsing documentation for mysql2-0.3.11 > unable to convert "\x80" from ASCII-8BIT to UTF-8 for > ../../extensions/x86_64-linux/2.0.0/mysql2-0.3.11/mysql2/mysql2.so, > skipping > unable to convert "\x80" from ASCII-8BIT to UTF-8 for > lib/mysql2/mysql2.so, skipping > Installing ri documentation for mysql2-0.3.11 > 1 gem installed > (You can ignore the error or run gem install with --no-ri or update rdoc) 3. Edit file */opt/gitlab/embedded/service/gitlab-rails/.bundle/config* and change *mysql *to *postgres*. > BUNDLE_WITHOUT: development:test:postgres > 4. Run gitlab-rake gitlab:setup I hope it helps other people, too, and I would be happy if it can be added to the CE packages too. -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/041da84b-900f-42fd-b324-19cd25b0d051%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
