Skip to content

Instantly share code, notes, and snippets.

View tkretschmer-rb's full-sized avatar

tkretschmer-rb

  • RadiantBlue Technologies
View GitHub Profile
@tkretschmer-rb
tkretschmer-rb / GL4.2-UnicornToPuma
Last active December 15, 2015 10:49
Instructions on converting GitLab 4.2 from unicorn to puma.
1) Delete the line containing 'unicorn' from Gemfile
2) Add the following line under the "Servers" section
gem "puma", "~> 1.6.3"
3) From /home/gitlab/gitlab run
sudo bundle install --no-deployment
4) From /home/gitlab/gitlab run the install command that fits the database you are using, I use MySQL
sudo -u gitlab -H bundle install --deployment --without development test postgres
5) Create a new file config/puma.rb. Put the following inside it
#!/usr/bin/env puma