From: Rich Date: 2004-06-12T07:06:27+09:00 Subject: Re: [ANN] EZExerb 2.0 Scratch that. I'm testing it on WinXP and it's saying that it found ver. 3.2.0, when the test box doesn't have a bit of ruby on it. All - Sorry for this noise, let me figure out what's going on and send more in a bit. -Rich ----- Original Message ----- From: "Rich" To: "ruby-talk ML" Sent: Friday, June 11, 2004 3:58 PM Subject: Re: [ANN] EZExerb 2.0 > I've implemented your suggestions, and they're a lot better than what I > had - thanks! > > I hope the latest works now... thanks for helping me work this out. > > -Rich > > > > > The reason is that i don't have the binary files from exerb installed. > > This is also not necessary to use exerb, you only can trust that the > > "lib" files are somewhere in the library path. At least this is what i > > found in the doc files, and it works perfectly. Using > > > > ruby -r exerb/mkexr foo.rb > > > > is enough to get a recipe file. > > So your code should be: > > > > require 'exerb/version' > > @exerb_major_version=Exerb::VERSION.split(".")[0] > > > > And of course use a begin/rescue if exerb is not installed. > > > > > > -- > > Best regards, emailto: scholz at scriptolutions > dot com > > Lothar Scholz http://www.ruby-ide.com > > CTO Scriptolutions Ruby, PHP, Python IDE 's > > > > > > > >