--rexml--

1. Using a file with these lines:
>require "rexml/document"
>file = File.new( "slashdot.xml" )
>doc = REXML::Document.new file

2. I get this error:
"D:\rubyMine\rexml\tests>ruby include.rb
c:/ruby/lib/ruby/site_ruby/1.8/rexml/encoding.rb:39:in `load': No such file
to l
oad -- rexml/encodings/UTF-8.rb (LoadError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rexml/encoding.rb:39:in
`old_enc='
        from c:/ruby/lib/ruby/site_ruby/1.8/rexml/xmldecl.rb:74:in
`encoding='
        from c:/ruby/lib/ruby/site_ruby/1.8/rexml/xmldecl.rb:30:in
`initialize'
        from c:/ruby/lib/ruby/site_ruby/1.8/rexml/xmldecl.rb:84:in `new'
        from c:/ruby/lib/ruby/site_ruby/1.8/rexml/xmldecl.rb:84:in `default'
        from c:/ruby/lib/ruby/site_ruby/1.8/rexml/document.rb:24
        from include.rb:1:in `require'
        from include.rb:1"

3. I've looked at the file to see what it was trying to load - and it's
trying to load "rexml/encodings/UTF-8.rb". I don't have that file. I
downloaded 3 different times to see if maybe it just wasn't in the Zip file
I downloaded. No luck.

--rbbr--

1. Following the install directions -
"Install
-------
1. Install Ruby-GetText-Package, ri and ReFe. (All of them are optional)
2. De-Compress ruby-gnome2-api.tar.gz and rbbr's archive(Optional)
   withapi package include this api files.
3. Puts ruby-gnome2-api/* to (rbbr's top directory)/data/rbbr/rd/*
4. Move rbbr's top directory and type:

    $ ruby install.rb config
    $ ruby install.rb setup
   ($ su)
    # ruby install.rb install

  You can also install files in your favor directory by
  supplying install.rb some options. Try "ruby setup.rb --help"."

#1 - no
#2 - yes
#3 - no
#4 - yes (install.rb config, install.rb setup, install.rb install)

2. I then went to the Usage section -
"Usage
-----

  Run the following command:

    $ rbbr"

This makes no sense to me... so I found the file 'rbbr'
(C:\ruby\lib\ruby\site_ruby\1.8\rbbr) and...
 - double clicked (it asked what to use to open it... and I said Cancel)
 - changed it's name to have the extension '.rb' and double clicked it...
the console window opened then closed.
 - went to the same location and typed 'ruby rbbr.rb' into the command
prompt and...
"C:\ruby\lib\ruby\site_ruby\1.8>ruby rbbr.rb
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 rbbr.rb:35:in `require'
        from rbbr.rb:35"

--mysql-ruby-- ( I noticed that what I referred to earlier was wrong -
sorry!! This is the right name for what I tried to get working...)

1. Following Install section:
" Install
% ruby ./setup.rb
% ruby ./test.rb hostname user passwd
# ruby ./install.rb"

When I type "ruby setup.rb" into a command prompt I get:
"F:\rubyAll\ruby-mysql-0.2.2.tar.gz\ruby-mysql-0.2.2.tar\ruby-mysql-0.2.2>ru
by se
tup.rb
setup.rb:8:in ``': No such file or directory - mysql_config --socket
(Errno::ENO
ENT)
        from setup.rb:8"

--exerb--

When I run the file "exerb-win32.exe" inside
"F:\rubyAll\exerb-win32-2.6.5.0\exerb-win32-2.6.5.0" all I get are old
versions of Ruby (1.68)... I'm using 1.8. What do I need to do to get it to
compile my scripts to 1.8?


I think that covers it... thanks for listening to my problems - I'm really
grateful for any help I can get...

-Rich


----- Original Message ----- 
From: "Rasputin" <rasputin / idoru.mine.nu>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Wednesday, December 10, 2003 3:20 AM
Subject: Re: Why can't I get ruby 'extras' to just plain work?!


> * Rich <rich / lithinos.com> [1256 02:56]:
>
> > Third: I can't get anything to work.
> >
> > I'm on Win2000. I used the PragProg installer for the latest 1.8
release...
> > and I can't get...
> >     mysql-ruby-2.4.2-1-winpkg
> > or,
> >     rexml_2.7.2
> > or,
> >     exerb-win32-2.6.5.0
> > or,
> >     rbbr-0.5.0-withapi.tar.gz
> > to work - at all...
> >
> > I read the documentation online and in the downloaded files I do exactly
(to
> > the best of my knowledge) what I'm supposed to do - in short, I try my
best
> > and I still can't get anything to work.
>
> Do you get errors? What are they?
>
> -- 
> I do not fear computers.  I fear the lack of them.
> -- Isaac Asimov
> Rasputin :: Jack of All Trades - Master of Nuns
>