IT lexicon › Programming › Ruby License

Ruby License

Programming På svenska → Updated: 2026-11-02

Yukihiro Matsumoto's own licence for Ruby, always offered alongside a better-known licence as the alternative.

For years Ruby was distributed under a choice of GPL v2 or the Ruby License. The latter lets you distribute modified versions if you meet one of several conditions: make the changes freely available, use them only inside your own organisation, rename the executables so they can't be confused with the original, or strike a separate deal with the author. It is a soft copyleft with several emergency exits.

With Ruby 1.9.3 in 2011 the GPL option was swapped for BSD-2-Clause. The reasoning was practical: GPL v3 had arrived, and a language whose standard library gets embedded everywhere is best served by a licence no lawyer has to interpret. Countless gems inherited the phrase "same terms as Ruby" – easier to write than to explain.

← Back to the lexicon