Added by Douglas Leonardo over 9 years ago
I am trying to make my application (OpenProject) starting with the
system boot, but to test the script as root, returns me the error:
/usr/bin/env:ruby: No such file or directory.
My script is like this:
_#!/bin/bash
RAILS_ENV=“production”
cd/home/openproject/openproject
su -c openproject “bundle exec rails server”_
Someone help?