[MacRuby] #1459: should display exception message in stderr
MacRuby
ruby-noreply at macosforge.org
Wed Feb 15 07:50:15 PST 2012
#1459: should display exception message in stderr
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by watson1978@…):
There is another test case.
{{{
$stderr = File.open("/tmp/exception.txt", "w")
raise "test"
}}}
{{{
$ ruby19 -v t.rb
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.3.0]
/$ cat /tmp/exception.txt
t.rb:2:in `<main>': test (RuntimeError)
$ DYLD_LIBRARY_PATH=. ./macruby ~/tmp/t.rb
/Users/watson/tmp/t.rb:2:in `<main>': test (RuntimeError)
$ cat /tmp/exception.txt
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1459#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list