{"id":29955012,"url":"https://github.com/foca/genlock","last_synced_at":"2025-08-03T17:09:16.134Z","repository":{"id":56873955,"uuid":"45830199","full_name":"foca/genlock","owner":"foca","description":"Generate `Gemfile.lock` files from your `.gems` file.","archived":false,"fork":false,"pushed_at":"2016-12-24T15:22:46.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T19:00:05.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-09T10:08:57.000Z","updated_at":"2019-07-15T20:32:34.000Z","dependencies_parsed_at":"2022-08-20T22:30:26.891Z","dependency_job_id":null,"html_url":"https://github.com/foca/genlock","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/foca/genlock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fgenlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fgenlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fgenlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fgenlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foca","download_url":"https://codeload.github.com/foca/genlock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fgenlock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268578914,"owners_count":24273089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-03T17:09:10.955Z","updated_at":"2025-08-03T17:09:16.126Z","avatar_url":"https://github.com/foca.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generate Gemfile.lock from a `.gems` file\n\nIf you use any of the utilities that manage `.gems` file for ruby instead of\nbundler (such as [dep][], [rpm][], or similar tools), and want to use tools that\nassume you use Bundler (for example, deploying to Heroku), you can easily\ngenerate a `Gemfile.lock` file from your `.gems` file using this tool.\n\nThis is what I put in my `Makefile`:\n\n``` Makefile\nGemfile: .gems\n\techo \"source \\\"https://rubygems.org\\\"\" \u003e $@\n\techo \"ruby \\\"$(shell ruby -e 'puts RUBY_VERSION')\\\"\" \u003e\u003e $@\n\tawk '{ print \"gem \\\"\" $$1 \"\\\", \\\"\" $$3 \"\\\"\" }' $\u003c \u003e\u003e $@\n\nGemfile.lock: .gems\n\tgenlock $\u003c \u003e $@\n```\n\nNow, whenever my `.gems` file changes, `make` will ensure I have the `Gemfile`\nand `Gemfile.lock` files available for whatever tools that require them.\n\n## Installation\n\nClone the repository, then run `make install`. You can run `./configure --prefix\n\u003cprefix\u003e` if you want to change the install location (by default `/usr/local`).\n\n...Or you can download the binary and drop it in your PATH, really. No need for\nanything fancy :)\n\n## License\n\nDistributed under an MIT license. See the [LICENSE](./LICENSE) file for details.\n\n[dep]: https://github.com/djanowski/dep\n[rpm]: https://github.com/elcuervo/rpm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Fgenlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoca%2Fgenlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Fgenlock/lists"}