2023-11-28 08:20:18 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
2023-11-28 08:25:07 +01:00
|
|
|
if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then
|
|
|
|
cd '<%= @mastodon_home %>'
|
2023-11-28 08:41:42 +01:00
|
|
|
RUBY_CONFIGURE_OPTS=--with-jemalloc ./.rbenv/bin/rbenv install '<%= @ruby_version %>'
|
2023-11-28 08:20:18 +01:00
|
|
|
fi
|