From: Dat Nguyen Date: 2001-08-04T13:06:33+09:00 Subject: [ruby-talk:19103] Re: Install Ruby on Unix

>From: "JamesBritt"

>Reply-To: ruby-talk@ruby-lang.org
>To: ruby-talk@ruby-lang.org (ruby-talk ML)
>Subject: [ruby-talk:19095] RE: Install Ruby on Unix
>Date: Sat, 4 Aug 2001 09:52:08 +0900
>
>Get the source
>untar/unzip someplace in your home directory
>
>There's a script called 'configure' and you can see all the parameters by
>running ./configure --help
>One of the parameters is --prefix. By default this is set to /usr/local,
>and compiled files end up
>in places like /usr/local/bin, /usr/local/lib
>
>You can explicitly set the prefix to some other place by running configure
>with the --prefix=some/other/place:
>
>./configure --prefix=/$HOME
>
>This will create a makefile that is setup to install the compiled code bin
>and lib directories
>of your home directory.
>
>Then you run
>make
>make test
>make install
>
>and you should be good.
>
>
>
>James
>
> -----Original Message-----
>From: Dat Nguyen [mailto:thucdat@hotmail.com]
>Sent: Friday, August 03, 2001 3:43 PM
>To: ruby-talk ML
>Subject: [ruby-talk:19093] Install Ruby on Unix
>
>
> How to install Ruby on a Unix system as an ordinary user (not as
>root/system administrator) but being able to run Ruby with all the bells and
>whistles (irb, Tk, etc.).
>
> Thanks,
>
> Dat
>
>
>
>----------------------------------------------------------------------------
>--
> Get your FREE download of MSN Explorer at http://explorer.msn.com

>

Thanks, did exactly that, but when I run the AntFarm.rb of Dave Thomas, I got the following

error message:

/users/dnguyen/lib/ruby/1.6/tk.rb:7:in `require': No such file to load -- tcltklib (LoadError)
        from /users/dnguyen/lib/ruby/1.6/tk.rb:7
        from antfarm.rb:2:in `require'
        from antfarm.rb:2
Even though /users/dnguyen/lib/ruby/1.6/tk.rb does exist.
What's still wrong?
 
Dat


Get your FREE download of MSN Explorer at http://explorer.msn.com