heroku run bash
Running bash on β¬’ my-app... up, run.8292 (Standard-1X)
~ $ rails db:status
/usr/bin/env: βruby --yjitβ: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
Running Rails 7 with YJIT with this shebang that goes at the top of bin/rails works locally:
#!/usr/bin/env ruby --yjit