Everything went fine until the ‘Installing the last dependencies ’ stage. When I execute ‘RAILS_ENV=production bundle exec rake mastodon:setup’, I see an error message that ‘rbenv: version `2.6.1’ is not installed (set by /home/mastodon/live/.ruby-version)’…
> sudo su - mastodon
> cd .rbenv
> rbenv install 2.6.1
> rbenv global 2.6.1
The recommended Ruby version has been bumped to 2.6.1. You can upgrade, or you can continue using the old version by overwriting the .ruby-version file with e.g. 2.6.0 or 2.5.3 which were recommended previously
Thank you for your replies, guys. In the end, I decided to restart the entire installation process… But I am getting an error message that rbenv is not installed.
I have encountered an error. In the ‘Installing Ruby’ section, when I execute ‘echo ‘eval “$(rbenv init -)”’ >> ~/.bashrc’ followed by ‘exec bash’,
I get the message ‘Command rbenv not found, but can be installed with: apt install rbenv’ …
Thus the how-to fails from that point on because it seems that the version cloned from git does not seem to be detected…
Can I install the Ubuntu apt package for 18.04 as root user, or is that going to create problems? (The mastodon user is not a sudoer, so I have to open a separate session for root…)
Any advice please? (and thank you in advance, if so)