We now build Ruby with jemalloc, set RUBY_CONFIGURE_OPTS

Added needed dependencies to common role
This commit is contained in:
staticsafe 2017-12-11 11:34:33 -05:00
parent 7c2251247a
commit 75d0e0fb45
2 changed files with 3 additions and 0 deletions

View File

@ -57,5 +57,7 @@
- yarn
- libidn11-dev
- libicu-dev
- libjemalloc1
- libjemalloc-dev
- name: Add mastodon system user
user: name=mastodon state=present

View File

@ -34,5 +34,6 @@
executable: /bin/bash
environment:
PATH: '/home/mastodon/.rbenv/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/plugins/ruby-build/bin:{{ ansible_env.PATH }}'
RUBY_CONFIGURE_OPTS: '--with-jemalloc'
become: true
become_user: mastodon