Open link in a new tab

Content

Expand project menu

How start OpenProject on boot.

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?