Licences for ruby code

Hi at all,

I started to develop in Ruby last week, after my little example of class,
module, Proc, lambda, functional programming, etc. Now I start to develop
code that I would publish on github.

My simple question is: what license I can use ?

I saw that Ruby has this license
https://www.ruby-lang.org/en/about/license.txt

I saw on github several and not all project that are released under MIT,
GPLv3 and Apache License.

My context is company-free, otherwise I choose directly Apache or other
similar.

Thanks

···

--
*Doct. Giorgio Desideri*

*Skype:* kallsu82
*Linkedin*:
http://www.linkedin.com/pub/giorgio-desideri/7/a5a/176

*PGP-Public Key*: 4096R/E8B659C4
*PGP Fingerprint*: 52C8 09E5 346B A2EE E210 2399 073A 778E E8B6 59C4

-----

*"If people do not believe that mathematics is simple, it is only because
they do not realize how complicated life is" (J. von Neumann)*
*"Il saggio coltiva Linux, perché sà che Window$ si pianta da solo !"*

Hi at all,

I started to develop in Ruby last week, after my little example of class,
module, Proc, lambda, functional programming, etc. Now I start to develop
code that I would publish on github.

​Wonderful. Welcome!​

My simple question is: what license I can use ?

I saw that Ruby has this license
https://www.ruby-lang.org/en/about/license.txt

I saw on github several and not all project that are released under MIT,
GPLv3 and Apache License.

My context is company-free, otherwise I choose directly Apache or other
similar.

​If you're copying code from Ruby itself, then you're subject to that
code's licenses. However any code you write *yourself*, from scratch,
without any other provenance, you are free to license however you see fit.

For example, if I create a gem that is a copy-and-paste of ​part of Ruby's
"math.c" or "lib/pp.rb" with my own customisations applied, I'm bound by
the Ruby license. However most of my gems aren't that, so I release them
under whatever license I choose (often ISC.)

Cheers

···

On 2 February 2016 at 14:54, Giorgio Desideri <giorgio.desideri@gmail.com> wrote:
--
  Matthew Kerwin
  http://matthew.kerwin.net.au/

···

On Mon, Feb 1, 2016 at 11:23 PM, Matthew Kerwin <matthew@kerwin.net.au> wrote:

On 2 February 2016 at 14:54, Giorgio Desideri <giorgio.desideri@gmail.com> > wrote:

Hi at all,

I started to develop in Ruby last week, after my little example of class,
module, Proc, lambda, functional programming, etc. Now I start to develop
code that I would publish on github.

​Wonderful. Welcome!​

My simple question is: what license I can use ?

I saw that Ruby has this license
https://www.ruby-lang.org/en/about/license.txt

I saw on github several and not all project that are released under MIT,
GPLv3 and Apache License.

My context is company-free, otherwise I choose directly Apache or other
similar.

​If you're copying code from Ruby itself, then you're subject to that
code's licenses. However any code you write *yourself*, from scratch,
without any other provenance, you are free to license however you see fit.

For example, if I create a gem that is a copy-and-paste of ​part of Ruby's
"math.c" or "lib/pp.rb" with my own customisations applied, I'm bound by
the Ruby license. However most of my gems aren't that, so I release them
under whatever license I choose (often ISC.)

Cheers
--
  Matthew Kerwin
  http://matthew.kerwin.net.au/

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Thanks a lot for emails and suggestions.

*Doct. Giorgio Desideri*

*Skype:* kallsu82
*Linkedin*:
http://www.linkedin.com/pub/giorgio-desideri/7/a5a/176

*PGP-Public Key*: 4096R/E8B659C4
*PGP Fingerprint*: 52C8 09E5 346B A2EE E210 2399 073A 778E E8B6 59C4

···

-----

*"If people do not believe that mathematics is simple, it is only because
they do not realize how complicated life is" (J. von Neumann)*
*"Il saggio coltiva Linux, perché sà che Window$ si pianta da solo !"*

2016-02-02 12:26 GMT+07:00 Hanlyu Sarang <hanlyusarang@gmail.com>:

http://choosealicense.com/

On Mon, Feb 1, 2016 at 11:23 PM, Matthew Kerwin <matthew@kerwin.net.au> > wrote:

On 2 February 2016 at 14:54, Giorgio Desideri <giorgio.desideri@gmail.com >> > wrote:

Hi at all,

I started to develop in Ruby last week, after my little example of
class, module, Proc, lambda, functional programming, etc. Now I start to
develop code that I would publish on github.

​Wonderful. Welcome!​

My simple question is: what license I can use ?

I saw that Ruby has this license
https://www.ruby-lang.org/en/about/license.txt

I saw on github several and not all project that are released under MIT,
GPLv3 and Apache License.

My context is company-free, otherwise I choose directly Apache or other
similar.

​If you're copying code from Ruby itself, then you're subject to that
code's licenses. However any code you write *yourself*, from scratch,
without any other provenance, you are free to license however you see fit.

For example, if I create a gem that is a copy-and-paste of ​part of
Ruby's "math.c" or "lib/pp.rb" with my own customisations applied, I'm
bound by the Ruby license. However most of my gems aren't that, so I
release them under whatever license I choose (often ISC.)

Cheers
--
  Matthew Kerwin
  http://matthew.kerwin.net.au/

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;