Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Collect gem licenses.
branch: master

Merge pull request #6 from O-I/https-rubygems

Use HTTPS for
latest commit 2877f50d56
Daniel Doubrovkine (dB.) @dblockdotorg authored
Failed to load latest commit information.
common_licenses Add additional common licenses and match-able license labels
lib Some files can't be downcased
spec Rubocop insists that I shorten lines
tasks Replace :unknown with 'unknown' so that _all_ missing licenses are re…
.gitignore Gem skeleton.
.rspec Normalize known license names.
.rubocop.yml Upgraded RSpec, added RuboCop.
.rubocop_todo.yml Added gem:licenses:csv Rake task.
.travis.yml Added Travis-CI. Use HTTPS for Added CHANGELOG, CONTRIBUTING.
Gemfile Use HTTPS for
LICENSE Rudimentary implementation 0.1.0. Added gem:licenses:csv Rake task.
VERSION Version bump to 0.1.2
gem-licenses.gemspec Upgraded RSpec, added RuboCop.


Build Status

Gem-licenses is an attempt to collect license information from project's gems. Similar to 3licenses.


The overwhelming majority of 3rd party licenses require the application that uses them to reproduce the license verbatim in an artifact that is installed with the application itself. For instance, the BSD license states the following.

“Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.”

Are you currently copying individual license.txt files "by hand" or are you including license text in your documentation with copy/paste? This project aims at improving this situation.


Include gem-licenses in your project's Gemfile.

group :development, :test do
  gem 'gem-licenses'

Install Rake tasks from Rakefile.


To list licenses try the following Rake task.

rake gem:licenses

To write a CSV file of gems + licenses.

rake gem:licenses:csv['licenses.csv']




This project is licenced under the MIT license, see LICENSE for details.


Copyright (c) Daniel Doubrovkine, 2011-2015, Artsy, Inc.

Something went wrong with that request. Please try again.