New Problem With IO.popen?

John Marsan
Fri, 15 Apr 2005 05:10:07 -0000

I have a small rails app that was working fine on one system and have moved it
to a new system with all the latest code.  In my controller I''m calling
IO.popen to call some java code but this isn''t working anymore.

For example here I''m doing in the controller:

                displayXml = IO.popen("java -version", "w+")

And then I get an error in appache that has me stumped at this point:

[Thu Apr 14 23:03:30 2005] [error] [client 10.10.1.48]
/usr/local/lib/ruby/site_ruby/1.8/rubyge
ms/custom_require.rb:18: command not found: java -version, referer:
http://10.10.99.101/filing/
search.

Code like this was working with (I think) gem version 0.8.3.  New system ha
0.8.8.

Thanks for any help you can provide!

_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org