I have OpenProject, a Ruby on Rails application, I want to make it up with the system boot, made a script and call this script in Upstart, but when I see the log, the following message appears: /usr/bin/env: ruby: File or directory not found. The script is as follows:
#!/bin/bash
cd /home/openproject/openproject
bundle exec rails server -d >> ~/log