[Rant-cafe] Ubuntu / Mac OS X difference
Russel Winder
russel at russel.org.uk
Fri Jun 15 09:32:13 EDT 2007
On Fri, 2007-06-15 at 15:08 +0200, Stefan Lang wrote:
> Compare it to ENV["PATH"] in irb, and also try
>
> require "rant/rantlib"
> Rant::Env.find_bin "epstopdf" # returns full path if found
Path and everything are OK. I have, however, found an angle on the
problem...
It looks like it might be that this might be some shoddy porting by
teTeX. epsftopdf is a Perl script -- sad but... :-) The Ubuntu version
starts with:
#!/usr/bin/env perl
and everything seems fine. However the Mac OS X version starts:
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl
-S $0 $argv:q'
if 0;
and fails to run when executed by Ruby via it's system functions.
--
Russel.
====================================================
Dr Russel Winder +44 20 7585 2200
41 Buckmaster Road +44 7770 465 077
London SW11 1EN, UK russel at russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/rant-cafe/attachments/20070615/d462e583/attachment.bin
More information about the Rant-cafe
mailing list