From: Diego Viola Date: 2010-09-22T10:14:16+09:00 Subject: Re: QT works! --0015174c12b8b3ba170490ced730 Content-Type: text/plain; charset=ISO-8859-1 [diego@myhost pixelator]$ ruby -I. main.rb :29:in `require': no such file to load -- qrc_images.rb (LoadError) from :29:in `require' from main.rb:27:in `
' [diego@myhost pixelator]$ On Tue, Sep 21, 2010 at 8:10 PM, Luis Lavena wrote: > On Sep 21, 7:31 pm, Diego Viola wrote: > > [Note: parts of this message were removed to make it a legal post.] > > > > I tried this but I get some require errors with Ruby 1.9.2. It works if I > > modify the requires with a ./ at the front. > > > > I think the question was: Have you tried include the current > directory? > > ruby -I. my_script.rb > > That should restore Ruby pre-1.9.2 behavior of having the current > directory available. > > -- > Luis Lavena > > --0015174c12b8b3ba170490ced730--