{"id":13819652,"url":"https://github.com/geminabox/geminabox","last_synced_at":"2026-10-19T12:39:33.414Z","repository":{"id":37285400,"uuid":"463074","full_name":"geminabox/geminabox","owner":"geminabox","description":"Really simple rubygem hosting","archived":false,"fork":false,"pushed_at":"2026-09-28T20:02:45.000Z","size":1109,"stargazers_count":1547,"open_issues_count":1,"forks_count":323,"subscribers_count":25,"default_branch":"master","last_synced_at":"2026-10-13T13:57:01.534Z","etag":null,"topics":["gem","hacktoberfest","ruby","rubygems"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/geminabox","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/geminabox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"MIT-LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2010-01-07T23:05:13.000Z","updated_at":"2026-10-10T08:57:45.000Z","dependencies_parsed_at":"2023-02-13T02:50:19.954Z","dependency_job_id":"58d7be4e-ecd1-43ff-8bb6-c21ae3edc9f4","html_url":"https://github.com/geminabox/geminabox","commit_stats":{"total_commits":505,"total_committers":100,"mean_commits":5.05,"dds":0.7386138613861386,"last_synced_commit":"de5bfab1f1916a665cd1ad9d8d2d395281327b0f"},"previous_names":[],"tags_count":70,"template":false,"template_full_name":null,"purl":"pkg:github/geminabox/geminabox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geminabox%2Fgeminabox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geminabox%2Fgeminabox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geminabox%2Fgeminabox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geminabox%2Fgeminabox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geminabox","download_url":"https://codeload.github.com/geminabox/geminabox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geminabox%2Fgeminabox/sbom","scorecard":{"id":421969,"data":{"date":"2025-08-11","repo":{"name":"github.com/geminabox/geminabox","commit":"99e78c9b67176ae3fea6954275c18a1e79448cfb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 2/7 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/gem-push.yml:12","Warn: no topLevel permission defined: .github/workflows/gem-push.yml:1","Warn: no topLevel permission defined: .github/workflows/prettier.yml:1","Warn: no topLevel permission defined: .github/workflows/ruby.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: MIT-LICENSE:0","Info: FSF or OSI recognized license: MIT License: MIT-LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/gem-push.yml:8"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gem-push.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/gem-push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gem-push.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/gem-push.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/prettier.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/prettier.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ruby.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/ruby.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ruby.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/ruby.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ruby.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/ruby.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ruby.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/ruby.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ruby.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/ruby.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/geminabox/geminabox/stale.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ruby:3.2.2 to ruby:3.2.2@sha256:bc2b1b2c5cf0423b9ca12f2c2196c51efa80c8d3d4d0cf01858e67dc2c7136e4","Warn: npmCommand not pinned by hash: .github/workflows/prettier.yml:17","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Info: status check found to merge onto on branch 'master'","Warn: PRs are not required to make changes on branch 'master'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 2 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T01:26:54.070Z","repository_id":37285400,"created_at":"2025-08-19T01:26:54.070Z","updated_at":"2025-08-19T01:26:54.070Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343843146,"owners_count":38275671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-13T02:00:04.984Z","response_time":52,"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":["gem","hacktoberfest","ruby","rubygems"],"created_at":"2024-08-04T08:00:51.252Z","updated_at":"2026-10-19T12:39:33.408Z","avatar_url":"https://github.com/geminabox.png","language":"Ruby","funding_links":[],"categories":["Happy Exploring 🤘","Ruby","Gem Servers"],"sub_categories":[],"readme":"[![](https://repository-images.githubusercontent.com/463074/c53c4131-3d92-42db-85b0-52f1e88c219a)](https://github.com/geminabox)\n\n# Gem in a Box – Really simple rubygem hosting\n\n[![Ruby](https://github.com/geminabox/geminabox/actions/workflows/ruby.yml/badge.svg)](https://github.com/geminabox/geminabox/actions/workflows/ruby.yml?query=branch%3Amaster)\n[![Gem Version](https://badge.fury.io/rb/geminabox.svg)](http://badge.fury.io/rb/geminabox)\nGeminabox lets you host your own gems, and push new gems to it just like with rubygems.org.\nBundler finds your gems through the [compact index](#compact-index), with no client configuration.\nAuthentication is left up to either the web server, or the Rack stack.\nFor basic auth, try [Rack::Auth::Basic](https://rubydoc.info/gems/rack/Rack/Auth/Basic).\n\n![Geminabox web UI listing hosted gems with install commands](docs/screenshot.png)\n\n## System Requirements\n\n- Ruby 3.0 or later (Ruby 3.2+ recommended)\n- RubyGems 3.2.3 or later (latest version recommended)\n\n## Server Setup\n\n    gem install geminabox rackup webrick\n\n`rackup` and a Rack server are separate gems on Ruby 3.0+ with Rack 3.\nWEBrick is used here; any Rack server works.\n\nCreate a config.ru as follows:\n\n    require \"rubygems\"\n    require \"geminabox\"\n\n    Geminabox.data = \"/var/geminabox-data\" # ... or wherever\n\n    # Use Rack::Protection to prevent XSS and CSRF vulnerability if your geminabox server is open public.\n    # Rack::Protection requires a session middleware, choose your favorite one such as Rack::Session::Memcache.\n    # This example uses Rack::Session::Pool for simplicity, but please note that:\n    # 1) Rack::Session::Pool is not available for multiprocess servers such as unicorn\n    # 2) Rack::Session::Pool causes memory leak (it does not expire stored `@pool` hash)\n    use Rack::Session::Pool, expire_after: 1000 # sec\n    use Rack::Protection\n\n    run Geminabox::Server\n\nStart your gem server with `rackup`, or hook up the config.ru as you normally would ([passenger](https://www.phusionpassenger.com/), [puma](https://puma.io/), [unicorn](https://yhbt.net/unicorn/), whatever floats your boat).\n\n## Using Geminabox alongside rubygems.org\n\nGeminabox serves only the gems you push to it. To use it together with\nrubygems.org, declare it as a scoped source in your Gemfile so that every gem\nis pinned to exactly one source:\n\n```ruby\nsource \"https://rubygems.org\"\n\nsource \"https://gems.example.com\" do\n  gem \"internal-widgets\"\n  gem \"internal-tools\"\nend\n```\n\nThis pinning is Bundler's protection against dependency confusion: a gem name\nthat exists on both servers can never silently resolve to the wrong one.\n\n### RubyGems proxy (removed in 4.0)\n\nEarlier versions of Geminabox could proxy rubygems.org and serve remote and\nlocal gems from one merged namespace. The feature was deprecated in 3.1.0 and\nremoved in 4.0:\n\n- It relied on the RubyGems.org Dependency API\n  (`/api/v1/dependencies`), which was\n  [sunset on 2023-05-24](https://blog.rubygems.org/2023/02/22/dependency-api-deprecation.html),\n  so the proxy had not worked for years.\n- Serving remote and local gems from one namespace invites dependency\n  confusion attacks and defeats Bundler's source pinning described above.\n\nWhen upgrading, remove `Geminabox.rubygems_proxy` and its related settings\n(`rubygems_proxy_merge_strategy`, `allow_remote_failure`, `ruby_gems_url`,\n`bundler_ruby_gems_url`) from your config.ru, and point your Gemfile at\nrubygems.org directly with a scoped source block as shown above. Leftover\nsettings won't break your server: 4.0 warns about each one and ignores it,\nand the `RUBYGEMS_PROXY` and `RUBYGEMS_PROXY_MERGE_STRATEGY` environment\nvariables get the same startup warning. These shims go away in 5.0.\n\nIf you need a caching or mirroring proxy for rubygems.org (air-gapped\nnetworks, bandwidth, protection against upstream yanks), use\n[gemstash](https://github.com/rubygems/gemstash), maintained by the RubyGems\norganization.\n\n## Compact index\n\nGeminabox serves the [compact index API](https://guides.rubygems.org/rubygems-org-compact-index-api/)\n(`/versions`, `/info/GEMNAME`, `/names`). Bundler 1.12+ detects and uses it\nautomatically; no client configuration is needed. Responses support\n`If-None-Match` and ranged requests, so `bundle install` only downloads\nindex data that changed since the last run.\n\nThe materialized index lives in `data/compact_index/` and is updated\nwhenever gems are added or removed. Deleting that directory (or hitting\n`/reindex`) is safe; it is rebuilt from the stored gems on the next request.\n\nOn installs upgraded from an earlier version with many stored gems, the\nfirst request to `/versions` builds the index and can take a while as it\nchecksums every stored gem, so hitting `/reindex` or `/versions` right\nafter upgrading avoids surprising the first `bundle install`.\n\n### Running behind a reverse proxy\n\nA stock nginx or Passenger deployment needs no special configuration for the\ncompact index. gzip is safe to leave on, even for `text/plain`: Bundler sends\nits ranged requests without `Accept-Encoding`, and nginx never compresses 206\nresponses, so 304 revalidation and ranged tail appends keep working.\n\nTwo things do interfere:\n\n- Proxy-level caching of `/versions`, `/info/*`, or `/names` (nginx\n  `proxy_cache`, or a CDN). The files reference each other by checksum, so a\n  cache serving one fresh and another stale makes Bundler report checksum\n  mismatches. Bundler already caches and revalidates client-side; leave these\n  paths uncached.\n- Middleware or middleboxes that strip or rewrite headers. Removing `ETag`\n  disables 304 revalidation; removing `Repr-Digest`/`Digest` makes Bundler\n  refuse to append partial responses and re-download the full file after\n  every change.\n\n### Replacing a published version\n\n`gem inabox -o` (and the `allow_replace` server option) overwrites a stored\ngem in place: same version number, different contents. Geminabox updates the\ncompact index to match, including the new checksum. Bundler, however, guards\nagainst a version's bytes changing.\n\nSince 2.5, Bundler records each gem's checksum in the `CHECKSUMS` section of\n`Gemfile.lock`. On a later resolve it compares the checksum the server now\nadvertises against the locked one, and if they differ for the same name and\nversion it aborts with `Bundler::ChecksumMismatchError`, treating the change as\na possible supply-chain swap. Nothing on the server can override this; the\nconflict is between the client's lockfile and the replaced contents.\n\nAn overwrite is therefore transparent only to consumers who have not locked\nthat version yet. Anyone whose `Gemfile.lock` already pins it hits the error on\ntheir next `bundle install` or `bundle update`. Their options are to remove\nthat gem's line from `CHECKSUMS`, delete the lockfile and re-resolve, or turn\noff the check with `bundle config set --local disable_checksum_validation true`.\nThe clean fix is to bump the version instead of replacing it; treat `-o` as a\nconvenience for a private box whose gems nobody has locked yet.\n\n## HTTP client\n\nThe Geminabox server makes no outbound HTTP requests. The `gem inabox`\nclient uploads gems with the [HTTPClient](https://github.com/nahi/httpclient)\ngem, which honors the `http_proxy` / `HTTP_PROXY` environment variables.\n\nIf you drive `GeminaboxClient` from Ruby (a Rake task, say), you can configure\nits HTTP layer through `Geminabox.http_adapter` before creating the client:\n\n```ruby\nrequire \"geminabox\"\nrequire \"geminabox_client\"\n\n# Geminabox.http_adapter = Geminabox::HttpClientAdapter.new # default\nGeminabox.http_adapter.http_client = HTTPClient.new.tap do |http_client|\n  http_client.keep_alive_timeout = 32 # sec\nend\n\nGeminaboxClient.new(\"https://gems.example.com\").push(\"pkg/my-gem-1.0.0.gem\")\n```\n\nTo use a different HTTP library, subclass `Geminabox::HttpAdapter` and\nimplement `post` and `set_auth` (the client's upload path), plus `get` and\n`get_content` for completeness. `Geminabox::TemplateFaradayAdapter` is a\nworked example.\n\n    Geminabox.http_adapter = YourHttpAdapter.new\n\n## Hooks\n\nYou can add a hook (anything callable) which will be called when a gem is\nsuccessfully received.\n\n```ruby\nGeminabox.on_gem_received = Proc.new do |gem|\n  puts \"Gem received: #{gem.spec.name} #{gem.spec.version}\"\nend\n```\n\nTypically you might use this to push a notification to your team chat. Any\nexceptions raised within the hook are silently ignored, so handle them\nyourself if that is not what you want.\n\nAlso, please note that this hook blocks `POST /upload` and `POST /api/v1/gems` APIs processing.\nHook authors are responsible for making slow work non-blocking/async to avoid HTTP timeouts.\n\n## Client Usage\n\nGeminabox supports the standard gemcutter push API:\n\n    gem push pkg/my-awesome-gem-1.0.gem --host HOST\n\nYou can also use the gem plugin:\n\n    gem install geminabox\n\n    gem inabox pkg/my-awesome-gem-1.0.gem\n\nAnd the standard gemcutter yank API:\n\n    gem yank my-awesome-gem -v 1.0 --host HOST\n\nConfigure Gem in a box (interactive prompt to specify where to upload to):\n\n    gem inabox -c\n\nChange the host to upload to:\n\n    gem inabox -g HOST\n\nSimples!\n\n## Command Line Help\n\n    Usage: gem inabox GEM [options]\n\n      Options:\n        -c, --configure                  Configure GemInABox\n        -g, --host HOST                  Host to upload to.\n        -o, --overwrite                  Overwrite Gem.\n        -p, --port                       Sets port\n\n\n      Common Options:\n        -h, --help                       Get help on this command\n        -V, --[no-]verbose               Set the verbose level of output\n        -q, --quiet                      Silence command progress meter\n            --silent                     Silence RubyGems output\n            --config-file FILE           Use this config file instead of default\n            --backtrace                  Show stack backtrace on errors\n            --debug                      Turn on Ruby debugging\n            --norc                       Avoid loading any .gemrc file\n\n\n      Arguments:\n        GEM       built gem to push up\n\n      Summary:\n        Push a gem up to your GemInABox\n\n      Description:\n        Push a gem up to your GemInABox\n\n## Docker\n\nUsing Gem in a Box is really simple with the Dockerfile.  Move this Dockerfile into a directory that you want to use for your server.\n\nThat directory only needs to contain:\n\n```\nconfig.ru\nGemfile\nGemfile.lock\n```\n\nUse the config.ru from [Server Setup](#server-setup), with the data directory\nset to the path the image prepares for it (the container runs as a non-root\nuser and cannot create directories elsewhere):\n\n```ruby\nGeminabox.data = \"/usr/src/app/data\"\n```\n\nYour Gemfile only needs:\n\n```ruby\nsource 'https://rubygems.org'\n\ngem 'geminabox'\ngem 'rackup'\ngem 'webrick' # or other server you prefer\n```\n\nFrom there\n\n```\ndocker build -t geminabox .\n```\n\n```\ndocker run -d -p 9292:9292 -v geminabox-data:/usr/src/app/data geminabox:latest\n```\n\nYour server should now be running! The `geminabox-data` volume keeps your\ngems when the container is replaced; without it they are lost.\n\n\n## Running the tests\n\nRunning `rake` runs the unit, request, and integration tests.\n`rake test:conformance` runs the RubyGems compact-index conformance suite\nseparately. See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full set of checks\nCI runs.\n\nThe test suite uses\n[minitest-reporters](https://github.com/minitest-reporters/minitest-reporters)\nwith the default reporter. To get more detailed test output, use `rake\nMINITEST_REPORTER=SpecReporter`. With this setting, output of the Geminabox\nserver that is started for integration tests is sent to `stdout` as well.\n\n## Licence\n\n[MIT_LICENSE](./MIT-LICENSE)\n\n## ChangeLog\n\n[CHANGELOG.md](./CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeminabox%2Fgeminabox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeminabox%2Fgeminabox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeminabox%2Fgeminabox/lists"}