Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't detect licenses of default gems #701

Open
GarrisonD opened this issue Mar 11, 2024 · 0 comments
Open

Can't detect licenses of default gems #701

GarrisonD opened this issue Mar 11, 2024 · 0 comments

Comments

@GarrisonD
Copy link

For example, ruby 3.2.3 comes with date 3.3.3 and I have date 3.3.3 in my Gemfile.lock

gem info date output:

*** LOCAL GEMS ***

date (3.3.3)
    Author: Tadayoshi Funaba
    Homepage: https://github.com/ruby/date
    Licenses: Ruby, BSD-2-Clause
    Installed at (default): /usr/local/lib/ruby/gems/3.2.0

    A subclass of Object includes Comparable module for handling dates.

and the problem is that /usr/local/lib/ruby/gems/3.2.0/gems/date-3.3.3/ is empty!

And as expected I get this from the licensed:

Errors:
* Jass.bundler.date
  version: 3.3.3, filename: /app/back-end/.licenses/Jass/bundler/date.dep.yml, license: other, allowed: false
    - missing license text

If I run gem install date -v 3.3.3 or change its version to any other in Gemfile.lock, then licensed is happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant