$ sudo gem install -r funit
Attempting remote installation of ‘funit’
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed fUnit-0.0.2
Registration appreciated – see http://funit.rubyforge.org <<
Installing RDoc documentation for fUnit-0.0.2…
I wonder if you could purposely introduce some kind of bug into your
RDoc that would provoke it to produce an error message that contained
some text with the link to the license. I can’t think of how to do it
though.
that I’m being required to use, has a clause (3f) about at
least making an attempt to have the user register.
Is there a way to at least get a typeout during gem install?
It is possible to abuse the support for building extensions in order
to show a message (or do anything else for the matter), by placing
arbitrary code in an extconf.rb file and creating a bogus Makefile (just
so that RubyGems sees it and doesn’t report an error)[1]. The code you
place in extconf.rb will often be run with euid=root.
[1] this assumes that make (or nmake on mswin builds) is available
unless you
change ENV[“make”]; otherwise, you could (ab)use the Rake support for
the same
ends.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.