Forum: Rails deployment Backticks returns "Bad File Descriptor" error with Apache

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Danica C. (Guest)
on 2009-01-15 20:40

I wanted to run a command line program from Ruby. I used `(backticks) to
do this. It was successful if I run the program using Webrick but if I
run it using Apache 2.2.8, a "Bad File Descriptor" error is returned.

I needed to run `svn list` command to get the names of the files in a
target repository located in another machine. Using `(backticks) to run
the command gives me the output that i need.

Can anybody help tell me why `(backticks) return this kind of error in
Or is there a better way to run a command line in ruby that returns the
same as the output of `(backticks).

Please help.
Thank you very much.
This topic is locked and can not be replied to.