INSTALL-RUBY   2004/12/17

The way of installing into Ruby 1.9 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 19

        Or you can specify ruby source directory.
        (ex. make 19 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 19 RUBYDIR=<ruby-source-dir>
     3. Follow <ruby-source-dir>\win32\README.win32 description...

// END
