On May 18, 2015, at 7:26 AM, Douglas Leonardo wrote:
>
> #! / bin / bash RAILS_ENV = "production" cd / home / openproject /
> openproject su -c openproject "bundle exec rails server"
Sorry, responded too quickly. What follows #! should be the path to the
interpreter for the script. So have you
On May 18, 2015, at 7:26 AM, Douglas Leonardo wrote:
>
> /usr/bin/env:ruby
Space, not colon. /usr/bin/env is a command, ruby is an argument to that
command.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
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 openpro
3 matches
Mail list logo