Aumation the copyright text

How to automate the copyright text for each newly created files in ruby
projects or with rails framework.

With the wide variety of licenses and how passionately people feel
about them, I don’t think a sane default here is possible.

On Oct 6, 2011 2:50 PM, “Steve K.” [email protected] wrote:

With the wide variety of licenses and how passionately people feel
about them, I don’t think a sane default here is possible.

However an insane default is very doable.
My vote goes to public domain.

Why? Because anyone who cares about licenses will feel compelled to
change
it.
Otherwise, society benefits.

Andrew

On 10/06/2011 03:56 PM, andrew mcelroy wrote:

it.
Otherwise, society benefits.

If it’s put in the public domain, then someone else can come along and
put it into their proprietary code and benefit nobody but themselves.

My personal opinion: put it out under GPL. That way you retain control
over it and can ensure/enforce that society benefits.

This is exactly why we can’t have nice defaults. I’d be very, very,
very against the GPL as a default. First of all, because I hate it,
and secondly, because Ruby itself and most Ruby projects use the
MIT/BSD license. :wink:

2011/10/6 Nike M. [email protected]

How to automate the copyright text for each newly created files in ruby
projects or with rails framework.


Posted via http://www.ruby-forum.com/.

A google search gives the answer for vi editor:

Prasad

Hey guys, I think Mike wanted a how-to, not suggestions on licenses.

Mike, you can probably either configure your editor to do it. If you
want the notice by default in Rails-generated files, you should
probably ask on Rails forum.

– Matma R.