# About GPL license gems

**URL:** <https://www.ruby-forum.com/t/about-gpl-license-gems/222093>\
**Category:** Ruby\
**Created:** [August 11, 2012, 7:46pm UTC](https://www.ruby-forum.com/t/about-gpl-license-gems/222093 "2012-08-11T19:46:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 11, 2012, 7:46pm UTC](https://www.ruby-forum.com/t/about-gpl-license-gems/222093/1 "2012-08-11T19:46:36Z")

</div>

Hello,

It’s a bit off topic question but I’m sure many of the experienced users  
will be able to answer!

I was reading an article about open source licenses: GPL, LGPL, BSD and  
MIT. So from what I understood, if a gem (library) I used in my program  
in under GPL, I _must_ release my program under the GPL no matter what,  
is that correct?

If the license is of the the gem is BSD or MIT I can use for commercial  
and/or free of charge use without restrictions (permissive licenses),  
right?

Best Regards,

Panagiotis A.

---

<div class="post-metadata">

**Author:** ![atma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/858c86/32.png) [@atma](https://www.ruby-forum.com/u/atma)\
**Post date:** [August 11, 2012, 9:55pm UTC](https://www.ruby-forum.com/t/about-gpl-license-gems/222093/2 "2012-08-11T21:55:42Z")

</div>

Yes, right.

On Saturday, August 11, 2012, Panagiotis A. wrote:

> If the license is of the the gem is BSD or MIT I can use for commercial
> 
> The wise man said: “Never argue with an idiot, he brings you down to his  
> level and beat you with experience.”

## –

Nihad Abbasov

---

<div class="post-metadata">

**Author:** ![atma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/858c86/32.png) [@atma](https://www.ruby-forum.com/u/atma)\
**Post date:** [August 11, 2012, 9:59pm UTC](https://www.ruby-forum.com/t/about-gpl-license-gems/222093/3 "2012-08-11T21:59:48Z")

</div>

On Sat, Aug 11, 2012 at 3:55 PM, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) \<  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

> Yes, right.

No, this is not right. GPL requires that source code must be released  
_when  
you distribute_ your software. What counts as distribution is generally:

- You give/sell the software on physical media
- You give/sell the software as downloadable media

What _doesn’t_ count as distribution is use over the internet (a la a  
web  
site), and there are a lot of legal gray areas for which you generally  
speak with a lawyer. (E.g. a legitimate question is whether or not a  
missle  
bombing a country with GPL software counts as distribution).

The Affero GPL (AGPL) license gets around this “loop hole”, and requires  
you to publish the source code to your software _even_ if your software  
is  
for a network service (e.g. a web site).

Regards,  
Mike
