From: Tim Hunter Date: 2007-06-27T07:40:39+09:00 Subject: Re: Command in backticks hangs? (OS X, 1.8.6-p36) Tim Hunter wrote: > I'm running ruby 1.8.6 (2007-06-07 patchlevel 36) [powerpc-darwin8.9.0] > > I have a script (the OS X installer script for RMagick) that I've been > using for some months now. Today I discovered that, in this script > only, a command in backticks hangs: > > im_version = `Magick-config --version` rescue nil > > The command works normally when I enter it on the command line. The > statement works normally when I try it in irb. This statement works > normally as a simple one line Ruby script. > > It is possible that this is the first time I've run the script since I > upgraded to this version of Ruby. > > Has anybody else encountered this problem? > Following up to myself: I uninstalled 1.8.6 patchlevel 36 and replaced it with 1.8.6 patchlevel 0 downloaded from RubyForge. The script works normally now. I suppose I should get energetic and work on a small reproduction of the problem. -- RMagick OS X Installer [http://rubyforge.org/projects/rmagick/] RMagick Hints & Tips [http://rubyforge.org/forum/forum.php?forum_id=1618] RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]