Our Masto instance is still getting "/usr/bin/env: ‘ruby2.3’: No such file or directory" when trying to-be-crontabbed commands from the production guide such as "RAILS_ENV=production bundle exec rake mastodon:media:clear" as the mastodon user.

Ruby 2.3.1 is installed and any other command seems to use it just fine.

Help!

@HedgeMage i think that section of the guide suggests that some people will need the full path to bundle in the rbenv, you might be running a sys wide bundle instead
@ryan @HedgeMage Yeah, this would be my first guess to. For the record here is what one of my crontab entries looks like: `(cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rake mastodon:feeds:clear)`
@ryan Thanks, but I already tried it with the rbenv bundle path explicitly stated AND double-checked that it's in that user's $PATH :(
@HedgeMage sorry, good luck!
@ryan No need to be sorry, I appreciate all attempts at help!
@HedgeMage @ryan cron jobs don't source the user's .profile, which is a common source of problems.