Actually, after some more playing around I've finally got something
working! Well, not exactly, but I'm able to communicate through OSA
instead of appscript (and to be honest, I know very little about this
appscript gem and it's been deprecated anyway, so it's probably for the
best that I rewr
Thanks again, Scott. That makes a lot of sense. I've set
passenger_user_switching off and passenger_default_user to the user I
want Excel launched as... still nothing though. The processes look like
this:
Process User
--
PassengerWatchdog root
PassengerHelpterAgent userIwant
Passenge
Thanks, Scott! Awesome info.
I'm running under root because that was the easy way to bind to port 80.
I'm guessing if I run nginx under my user account I'd have to forward a
higher port (8080 or whatever) to port 80 using an ip table (or whatever
the OS X equivalent is)?
--
Posted via http:/
Fair enough, but I was looking for more of a high level guidance rather
than solving my problem specifically. I guess my question is in general
is it possible for Rails code running in nginx (running as root) to
spawn an application like Excel? I'm not familiar enough with OS X's
userspace mo
I have written some code that will open Excel, edit a spreadsheet, then
save and print the sheet. This code needs to run on a production web
server in a Rails app. When I run it using Webrick (running under my
user) everything is great. When I try it on the production server
(nginx running as ro