From: Luis Lavena Date: 2008-12-30T09:14:36+09:00 Subject: Re: FFI Gem on Win32 On Dec 29, 5:56 pm, Simon Smith wrote: > Hi, > > Thanks for your help so far, much appreciated, this looks like it almost > works now but I am having trouble installing the link though. > > [code] > C:\Code\jruby\Installs\luislavena-rubyinstaller>rake install > (in C:/Code/jruby/Installs/luislavena-rubyinstaller) > "C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/msys/bin/bash.exe" > --lo > gin -i -c "make install" > /miniruby.exe  ../ruby_1_8/instruby.rb --dest-dir="" --extout=".ext" > --make="ma > ke" --mflags="- --unix" --make-flags=" --unix" --installed-list > installed.list > --mantype="man" > installing binary commands > installing command scripts > installing library scripts > installing headers > installing manpages > installing extension objects > installing extension scripts > ruby setup.rb install --no-ri --no-rdoc > --destdir=C:/Code/jruby/Installs/luislav > ena-rubyinstaller/sandbox/rubygems_mingw > mkdir -p > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/rubygems_mingw/ > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/lib/ruby/site > _ruby/1.8 > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/lib/ruby/1.8/ > fileutils.rb:243:in `mkdir': Invalid argument - > C:/Code/jruby/Installs/luislaven > a-rubyinstaller/sandbox/rubygems_mingw/C: (Errno::EINVAL) >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:217:in `mkdir_p' >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:215:in `reverse_each' >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:215:in `mkdir_p' >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:201:in `each' >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:201:in `mkdir_p' >         from > C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/ruby_mingw/ > lib/ruby/1.8/fileutils.rb:1527:in `mkdir_p' >         from setup.rb:141 > rake aborted! > Command failed with status (1): [ruby setup.rb install --no-ri --no-rdoc > --...] > > (See full trace by running task with --trace) > > [/code] > > Do you know if I am missing a command somewhere. It seems like the whole > process unzips and builds fine it is just falling over in the final > stages when installing the files. > > The folder > "C:/Code/jruby/Installs/luislavena-rubyinstaller/sandbox/rubygems_mingw" > already exists, but I think the C: part on the end is an issue. > Is a bug in rubygems and the recipes need to be updated for 1.3.1 to fix it. I think I have those fixes locally and need to push to github, need to verify. Sorry for the problems, -- Luis Lavena