INSTALL-RUBY   2004/03/05

The way of installing into Ruby(1.6.8/1.8.0/1.8.1) is shown.
First, prepare for the source of Ruby.
(http://www.ruby-lang.org/)

(A) Unix or Cygwin platform
(B) Win32 platform (VC++)


(A) Unix and Cygwin platform

  (in oniguruma directory)
     1. ./configure --with-rubydir=<ruby-source-dir>
     2. make 16     # for Ruby 1.6.8
        or
        make 18     # for Ruby 1.8.0/1.8.1

        Or you can specify ruby source directory.
        (ex. make 16 RUBYDIR=../ruby)

  (in ruby source directory)
     3. ./configure  (** If it doesn't go yet. **)
     4. make clean
     5. make


  * test (ASCII and EUC-JP)

  (in oniguruma directory)
     6. make rtest
        Or you can specify ruby program directory.
        (ex. make rtest RUBYDIR=/usr/local/bin)


(B) Win32 platform (VC++)

   * Requirement: Visual C++, patch.exe

  (in oniguruma directory)
     1. copy win32\Makefile Makefile
     2. nmake 16 RUBYDIR=<ruby-source-dir>  # for Ruby 1.6.8
        or
        nmake 18 RUBYDIR=<ruby-source-dir>  # for Ruby 1.8.0/1.8.1

     3. Follow <ruby-source-dir>\win32\README.win32 description...

// END
