fix path
This commit is contained in:
parent
33f8e560c1
commit
26019c0dac
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [ ! -e '<%= @mastodon_home %>/.mastodon_install' ]; then
|
|||
echo "Installing ruby..."
|
||||
export PATH="<%= @mastodon_home %>/.rbenv/bin:$PATH"
|
||||
eval "$(<%= @mastodon_home %>/.rbenv/bin/rbenv init -)"
|
||||
if [ ! -e '<%= @mastodon_home %>/.rbenv/version/<%= @ruby_version %>/bin/ruby' ]; then
|
||||
if [ ! -e '<%= @mastodon_home %>/.rbenv/versions/<%= @ruby_version %>/bin/ruby' ]; then
|
||||
sudo -u <%= @mastodon_user %> RUBY_CONFIGURE_OPTS=--with-jemalloc '<%= @mastodon_home %>/.rbenv/bin/rbenv' install '<%= @ruby_version %>'
|
||||
fi
|
||||
sudo -u <%= @mastodon_user %> '<%= @mastodon_home %>/.rbenv/bin/rbenv' global '<%= @ruby_version %>'
|
||||
|
|
Loading…
Reference in a new issue