Shut up, RDoc!

T

Trans

Can someone please tell me how shut RDoc up. Every time I run it I
get:

lib/facets.rb:49:29: Skipping require of dynamic string: "facets/
#{lib}"

I've tried everything I can think of to suppress this output.

Thanks,
T.
 
G

Gregory Brown

Can someone please tell me how shut RDoc up. Every time I run it I
get:

lib/facets.rb:49:29: Skipping require of dynamic string: "facets/
#{lib}"

I've tried everything I can think of to suppress this output.

have you tried:

require "facets/some_lib"
require "facets/another_lib"
...

You can also of course build up that string and then eval it, but that
seems particularly nasty. IIRC, this was eventually fixed in newer
versions of ruby, but I may be mistaken.
 
M

Michael Fellinger

Can someone please tell me how shut RDoc up. Every time I run it I
Sigh. Yea, guess I will have to.

You can also do:
%w[foo bar].each{|l| require("facets/" + l)}
That will restore your peace :)
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
474,170
Messages
2,570,921
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top