T
trans. (T. Onoma)
I'm getting duplicate entries for methods using RDoc. Anyone know why that
might happen?
Thanks,
T.
might happen?
Thanks,
T.
Which Ruby, which entries? I've not seen any quirks like you describe.trans. (T. Onoma) said:I'm getting duplicate entries for methods using RDoc. Anyone know why that
might happen?
Thanks,
T.
trans. (T. Onoma) said:I'm getting duplicate entries for methods using RDoc. Anyone know why that
might happen?
Just curious, whats the version of your Ruby -v? Is this base basetrans. (T. Onoma) said:| > I'm getting duplicate entries for methods using RDoc. Anyone know why
| > that might happen?
|
| No, I haven't seen that. Can you diagnose further? Do the dups have
| anything in common?
Hi --
So far, I've only determined that RDoc is processing some files twice. I'm not
sure what they have in common yet though. Let you know.
Thanks,
T.
oh, so there really is a problem with every rdoc out there. heh...trans. (T. Onoma) said:Okay I figured it out. It's related to the problem I reported before --I have
a number of files with odd file names that include characters like /[=?&<>]/.
I'm using the rake component to generate the rdocs, but it doesn't
quote-escape the file names when it generates the rdoc command. So it does
weird things. I had to do this for now and remove the offending files.
RDOC_INCLUDE = [ 'README', 'VERSION', 'CHANGELOG', 'TODO',
'COPYING', 'lib/raspberry/atom/**/*.rb' ]
RDOC_EXCLUDE = [ 'lib/raspberry/atom/*.rb',
'lib/raspberry/atom/**/*\=*.rb',
'lib/raspberry/atom/**/*\?*.rb',
'lib/raspberry/atom/**/*\&*',
'lib/raspberry/atom/**/*\<*.rb',
'lib/raspberry/atom/**/*\>*.rb'
]
I need a real fix though.
T.
I'm getting duplicate entries for methods using RDoc. Anyone know why
that
might happen?
oh, so there really is a problem with every rdoc out there. heh...Okay I figured it out. It's related to the problem I reported before
--I have a number of files with odd file names that include
characters like /[=?&<>]/. I'm using the rake component to generate
the rdocs, but it doesn't quote-escape the file names when it
generates the rdoc command. So it does weird things. I had to do this
for now and remove the offending files.
Someone rather needs to make it rad the files, or ignore the files.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.