From: Eric Hodel Date: 2009-03-18T03:55:09+09:00 Subject: Re: Problem while installing rdoc-2.4.1 under Ruby 1.9.1 On Mar 16, 2009, at 12:10, Ruby Student wrote: > On Mon, Mar 16, 2009 at 2:52 PM, Eric Hodel > wrote: >> On Mar 16, 2009, at 11:05, Ruby Student wrote: >> >>> C:\>gem install rdoc >>> Successfully installed rdoc-2.4.1 >>> 1 gem installed >>> Installing ri documentation for rdoc-2.4.1... >>> Updating ri class cache with 1261 classes... >>> Installing RDoc documentation for rdoc-2.4.1... >>> ERROR: While executing gem ... (TypeError) >>> can't convert Pathname into String >>> C:\> >>> >>> Any suggestions? >>> >> >> What does gem install rdoc --backtrace say? >> >> RDoc was installed, but documentation was not generated :/ >> >> > Eric, this is what I get when I add the --backtrace option: > > C:\>gem install rdoc --backtrace > Successfully installed rdoc-2.4.1 > 1 gem installed > Installing ri documentation for rdoc-2.4.1... > Updating ri class cache with 1380 classes... > Installing RDoc documentation for rdoc-2.4.1... > ERROR: While executing gem ... (TypeError) > can't convert Pathname into String > > C:/ruby/lib/ruby/gems/1.9.1/gems/rdoc-2.4.1/lib/rdoc/generator/ > darkfish.rb:158:in > `[]' > > C:/ruby/lib/ruby/gems/1.9.1/gems/rdoc-2.4.1/lib/rdoc/generator/ > darkfish.rb:158:in > `write_style_sheet' > > Any idea? I'm not going to have time to look at it just yet, but can you file a bug for me? http://rubyforge.org/tracker/?func=add&group_id=627&atid=2472 please include ruby -v and the un-snipped backtrace from above