Add makeRubyLock builtin #997

Closed
opened 2023-01-17 19:45:43 +01:00 by dsalaza4 · 1 comment
dsalaza4 commented 2023-01-17 19:45:43 +01:00 (Migrated from github.com)

makeRubyGemsEnvironment requires to specify a rubyGems parameter with the entire pinned dependency tree. This is a huge headache as one has to go through each dependency in RubyGems and get its sha256. Aditionally, one still has to get a Gemfile.lock just to know the dependency tree for a set of direct dependencies.

Let's do what we do with Python:

  1. Add a makeRubyLock (like makePythonLock) that automatically generates a lock file.
  2. Make makeRubyGemsEnvironment receive such lock to create the environment.
`makeRubyGemsEnvironment` requires to specify a `rubyGems` parameter with the entire pinned dependency tree. This is a huge headache as one has to go through each dependency in [RubyGems](https://rubygems.org/) and get its sha256. Aditionally, one still has to get a Gemfile.lock just to know the dependency tree for a set of direct dependencies. Let's do what we do with Python: 1. Add a `makeRubyLock` (like `makePythonLock`) that automatically generates a lock file. 2. Make `makeRubyGemsEnvironment` receive such lock to create the environment.
dsalaza4 commented 2023-01-17 19:57:00 +01:00 (Migrated from github.com)
https://github.com/rubygems/rubygems/issues/3379
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#997
No description provided.