On May 18, 2015, at 7:26 AM, Douglas Leonardo <[email protected]> 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 really jumbled it all onto one line with lots of extra spaces in the path names, or is that just something that happened when you copied & pasted??? Anyway, should probably be something like: #! /bin/bash RAILS_ENV =… With the command being some that you’ve tested and established actually works—because what you’ve posted in your email certainly wont’ (spaces in the path to your project). -- Scott Ribe [email protected] http://www.elevated-dev.com/ https://www.linkedin.com/in/scottribe/ (303) 722-0567 voice -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/495AC444-12BF-4772-BECB-5E6217874A6C%40elevated-dev.com. For more options, visit https://groups.google.com/d/optout.

