From: Rich Date: 2004-06-12T02:26:16+09:00 Subject: Re: [ANN] EZExerb 2.0 Thanks for the feedback! The lines in question were: command_to_execute='ruby '+@rubyLocation.text+'/bin/exerb -V' begin f = IO.popen(command_to_execute) rescue end begin @exerb_version=f.readlines.join() rescue @exerb_version="Nothing 0.0.0" end @exerb_major_version=@exerb_version.split(" ")[1].split(".")[0] # Line 97 - where the error occured The purpose of that method is to see if exerb is installed... maybe there's a better way, but for now I've changed those lines by adding a new one: command_to_execute='ruby '+@rubyLocation.text+'/bin/exerb -V' begin f = IO.popen(command_to_execute) rescue end @exerb_version="Nothing 0.0.0" # The new line begin @exerb_version=f.readlines.join() rescue @exerb_version="Nothing 0.0.0" end @exerb_major_version=@exerb_version.split(" ")[1].split(".")[0] I've compiled and uploaded the additions - would you mind testing it again? -Rich ----- Original Message ----- From: "Lothar Scholz" Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Friday, June 11, 2004 8:58 AM Subject: Re: [ANN] EZExerb 2.0 > Rich wrote in message news:<000701c44f52$2d3d2130$f8df070a@stone>... > > http://raa.ruby-lang.org/project/ezexerb/ > > > > > > > > After Exerb (3.2.0) is installed this tool makes the creation of EXE files > > easier. > > > > Support for referencing a Ruby install directory other than the default. > > > > EXR and MAK files deleted automatically. > > > > User can define a 32x32 4 bit icon to use as the application icon. > > > > Nullsoft NSIS packaged installer/uninstaller. > > > > Tested on: 98, NT, 2000, and XP > > > > 2.0.0 - Release date: 10.06.04 > > 1.1.0 - Release date: 14.05.04 > > 1.0.0 - Release date: 18.02.04 > > 0.9.0 - Release date: 15.02.04 > > > > -Richard > > > Installed on XP and got a crash on startup > > private method `split' called for nil:NilClass > init.rb:97:in `get_exerb_version' > init.rb:79:in `test_for_correct_version_of_exerb' > init.rb:218:in `initialize' > init.rb:258:in `new' > init.rb:258 >