From: Rich Date: 2003-12-14T03:05:46+09:00 Subject: Re: rbbr errors (was: Re: rexml, rbbr, ruby-mysql, and exerb errors) So the first 18 lines of file 'stockbrowser.rb' at location 'C:\ruby\lib\ruby\site_ruby\1.8\rbbr\ui\gtk' should look like this - =begin rbbr/ui/gtk/stockview.rb $Author: mutoh $ $Date: 2003/12/06 13:56:57 $ Copyright (C) 2002 Ruby-GNOME2 Project This program is free software. You can distribute/modify this program under the terms of the Ruby Distribute License. =end #require 'gettext' require 'gtk2' require 'observer' ... and then I run C:\ruby\bin>ruby rbbr C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk/confmanager.rb:49: undefined method ` +' for nil:NilClass (NoMethodError) from C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk.rb:42:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk.rb:42 from C:/ruby/lib/ruby/site_ruby/1.8/rbbr.rb:35:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/rbbr.rb:35 from rbbr:20:in `require' from rbbr:20 Is that fixable? Thanks again for all of your help... -Rich ----- Original Message ----- From: "Masao Mutoh" To: "ruby-talk ML" Sent: Saturday, December 13, 2003 12:08 AM Subject: Re: rbbr errors (was: Re: rexml, rbbr, ruby-mysql, and exerb errors) > Hi, > > Thanks for detail reporting. > > On Fri, 12 Dec 2003 06:58:02 +0900 > "Rich" wrote: > > > Thanks for your suggestions (and for your patience) ... here is everything > > that happens when I... > > > > > > > > 1. Re-install rbbr. > > > 2. cd c:\ruby\bin > > > 3. ruby rbbr > > > > > > Can you execute rbbr? > > > If not, what's the error messages? > > > C:\ruby\bin>ruby rbbr > > C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk/stockbrowser.rb:16:in `require': > > No s > > uch file to load -- gettext (LoadError) > > from C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk/stockbrowser.rb:16 > > from C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk.rb:39:in `require' > > from C:/ruby/lib/ruby/site_ruby/1.8/rbbr/ui/gtk.rb:39 > > from C:/ruby/lib/ruby/site_ruby/1.8/rbbr.rb:35:in `require' > > from C:/ruby/lib/ruby/site_ruby/1.8/rbbr.rb:35 > > from rbbr:20:in `require' > > from rbbr:20 > > This is a bug of rbbr when the environment doesn't have gettext. > > When you remove line 16 of stockbrowser.rb ? > and then, does it work? > > Sorry for inconvenient. > > --- stockbrowser.rb.old 2003-12-13 16:06:25.000000000 +0900 > +++ stockbrowser.rb 2003-12-13 16:06:30.000000000 +0900 > @@ -13,7 +13,6 @@ > > =end > > -require 'gettext' > require 'gtk2' > require 'observer' > > > -- > .:% Masao Mutoh >