Re: Launching Excel in a production web server on a Mac

2014-02-05 Thread Anth Anth
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

Re: Launching Excel in a production web server on a Mac

2014-02-04 Thread Anth Anth
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

Re: Launching Excel in a production web server on a Mac

2014-02-01 Thread Scott Ribe
On Feb 1, 2014, at 12:25 PM, Anth Anth wrote: > 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

Re: Launching Excel in a production web server on a Mac

2014-02-01 Thread Anth Anth
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:/

Re: Launching Excel in a production web server on a Mac

2014-01-28 Thread Scott Ribe
On Jan 28, 2014, at 4:01 PM, Anth Anth wrote: > I knew heading into this that this scenario was a longshot to work. My > question is is this even remotely possible? If not, does anyone have > any alternate suggestions? I don't see any reason why it wouldn't work, but you have to get your users

Re: Launching Excel in a production web server on a Mac

2014-01-28 Thread Anth Anth
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

Re: Launching Excel in a production web server on a Mac

2014-01-28 Thread Jonathan Matthews
To say that you've not given us sufficient information to help you debug your problem would perhaps be biggest understatement I've yet seen in 2014. Seriously, chap - "I can't open my spreadsheet in nginx" ... are you /really/ expecting anyone to be able to help from that minimal (if not totally n

Launching Excel in a production web server on a Mac

2014-01-28 Thread Anth Anth
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