From: "NARUSE, Yui" Date: 2011-08-04T20:02:01+09:00 Subject: [ruby-core:38787] Re: [Ruby 1.9 - Bug #5135] Ruby 1.9.3-preview1 tests fails in Fedora Rawhide Motohiro KOSAKI wrote: > > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable for some reason I don't understand). > > > > Also note that I am actually executing the test suite after "make install" as you can see either from the log [3] or from spec file [4], however it does not mean that the newly installed Ruby becomes available in the $PATH, which is probably what you expect. > > Yup, I expected. > I think following two test failure indicate such issue. Set environment variable like RUBY=/builddir/build/BUILDROOT/ruby-1.9.3.review1-1.fc17.x86_64/usr/bin/ruby > This is hard > to fix properly because Webrick is micro web server. and adding > careless knob for loading another executable files > might make security issue in future. > > Therefore I hope you avoid this issue by your test environment craft. Some platform has the way to get the path of executing binary even if I doubt that ruby should do it. -- NARUSE, Yui