Backport #4107
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
=begin ri looks to use "<" as a dirname/filename on mswin32 build and causes Errno::EINVAL. ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mswin32] C:\Users\nahi\Documents\tools\ruby-1.8.7-p302-i386-mswin32>bin\ruby.exe bin\gem install activerecord Successfully installed activesupport-3.0.3 Successfully installed builder-2.1.2 Successfully installed i18n-0.5.0 Successfully installed activemodel-3.0.3 Successfully installed arel-2.0.6 Successfully installed tzinfo-0.3.23 Successfully installed activerecord-3.0.3 7 gems installed Installing ri documentation for activesupport-3.0.3... Installing ri documentation for builder-2.1.2... ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="<!-- HI -->" ... RDOC args: --ri --op C:/Users/nahi/Documents/tools/ruby-1.8.7-p302-i386-mswin32/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers --quiet lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation (continuing with the rest of the installation) Installing ri documentation for i18n-0.5.0... Installing ri documentation for activemodel-3.0.3... Installing ri documentation for arel-2.0.6... Installing ri documentation for tzinfo-0.3.23... Installing ri documentation for activerecord-3.0.3... ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - ./</cdesc-<.yaml Step to reproduce: 1. Download 1.8.7 mswin32 build from http://www.garbagecollect.jp/ruby/mswin32/ja/download/release.html then extract it. 2. Download rubygems 1.3.7 from https://rubygems.org/pages/download then extract it. 3. Install rubygems with 'ruby setup.rb' 4. Download zlib 1.1.4-1 from http://jarp.does.notwork.org/win32/ then extract it on the side of ruby.exe. !!! IT'S AWFULLY OLD but it's OK for this purpose !!! 5. Run the command above. According to https://jira.codehaus.org/browse/JRUBY-5226, 1.9.1 fails as well but trunk (for 1.9.3 at present) is OK (runs clean without error). =end