Problem installing ruby in a local (home) directory

"make test" succeeds, but then I get the following error on "make install"
(the install prefix is my home directory):

./miniruby ./ext/extmk.rb --dest-dir="" --make="make" --mflags=""
--make-flags="" --extout=".ext" --extension --extstatic -- install
cp -r ./.ext/. /home/mbrooks/lib/ruby/1.8
/home/mbrooks/ruby/lib/fileutils.rb:1239:in `copy': unknown file type:
./.ext/. (RuntimeError)
        from /home/mbrooks/ruby/lib/fileutils.rb:447:in `copy_entry'
        from /home/mbrooks/ruby/lib/fileutils.rb:1308:in `traverse'
        from /home/mbrooks/ruby/lib/fileutils.rb:445:in `copy_entry'
        from /home/mbrooks/ruby/lib/fileutils.rb:423:in `cp_r'
        from /home/mbrooks/ruby/lib/fileutils.rb:1379:in `fu_each_src_dest'
        from /home/mbrooks/ruby/lib/fileutils.rb:1393:in
        `fu_each_src_dest0'
        from /home/mbrooks/ruby/lib/fileutils.rb:1377:in `fu_each_src_dest'
        from /home/mbrooks/ruby/lib/fileutils.rb:422:in `cp_r'
        from ./ext/extmk.rb:386
make: *** [do-install-ext] Error 1

Jonathan M. Brooksjmbrook2@uncg.edu

Hi,

At Wed, 31 May 2006 00:06:44 +0900,
Jonathan M Brooks JMBROOK2 wrote in [ruby-talk:195191]:

"make test" succeeds, but then I get the following error on "make install"
(the install prefix is my home directory):

./miniruby ./ext/extmk.rb --dest-dir="" --make="make" --mflags=""
--make-flags="" --extout=".ext" --extension --extstatic -- install
cp -r ./.ext/. /home/mbrooks/lib/ruby/1.8
/home/mbrooks/ruby/lib/fileutils.rb:1239:in `copy': unknown file type:
./.ext/. (RuntimeError)

What does this command show?

  ./miniruby -ve 'ARGV.each{|d|puts "#{d.inspect} => #{File.ftype(d)}, #{File.directory?(d)}"}' . ./.ext ./.ext/.

···

--
Nobu Nakada