-
Notifications
You must be signed in to change notification settings - Fork 334
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
gem install generates wrong json-2.6.2.gemspec file #505
Comments
It's expected. |
And which version is provided in upstream ruby? |
It's |
Hm, but the |
Do you mean |
I'm trying to recreate how the default gem json is build and stumbled over this issue of the json gemspec. |
I strongly don't recommend it. The default gems are only ruby installation usage, not separated package like It's not supported officially. So, It's totally package maintainers responsibility of their distribution. |
Running
gem install
on https://rubygems.org/downloads/json-2.6.2.gem results in a default gemspec file like this:The problem in this is that the
s.files
list doesn't list the actual json.rb
files.To fix that you have to run
gem install --default
on the same gem to a different folder and then copy the gemspec to the right place.The text was updated successfully, but these errors were encountered: