{"id":13879391,"url":"https://github.com/bobf/devpack","last_synced_at":"2025-07-16T15:32:12.280Z","repository":{"id":55861966,"uuid":"277155879","full_name":"bobf/devpack","owner":"bobf","description":"Conveniently tailor your Ruby development environment","archived":false,"fork":false,"pushed_at":"2024-03-05T17:40:40.000Z","size":109,"stargazers_count":47,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T13:41:16.271Z","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/bobf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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}},"created_at":"2020-07-04T17:28:00.000Z","updated_at":"2024-09-15T11:02:29.000Z","dependencies_parsed_at":"2024-06-21T17:41:08.276Z","dependency_job_id":"6f841c08-18f3-4957-aa2b-646de3b96f44","html_url":"https://github.com/bobf/devpack","commit_stats":{"total_commits":36,"total_committers":3,"mean_commits":12.0,"dds":0.08333333333333337,"last_synced_commit":"ed29f14d2269d0ee8d9a15fea939256b99534bfa"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobf%2Fdevpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobf%2Fdevpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobf%2Fdevpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobf%2Fdevpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobf","download_url":"https://codeload.github.com/bobf/devpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226143895,"owners_count":17580245,"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","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":"2024-08-06T08:02:19.404Z","updated_at":"2024-11-24T08:31:18.910Z","avatar_url":"https://github.com/bobf.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Devpack\n\nInclude a single gem in your `Gemfile` to allow developers to optionally include their preferred set of development gems without cluttering the `Gemfile`. Configurable globally or per-project.\n\n## Installation\n\nCreate a file named `.devpack` in your project's directory, or in any parent directory:\n\n```\n# .devpack\nawesome_print\nbyebug\nbetter_errors\n\n# Optionally specify a version:\npry:0.13.1\n\n# Or add an asterisk at the start of a line to not require the gem automatically:\n# (equivalent to adding `require: false` to the gem's entry in the Gemfile)\n*brakeman\n```\n\nAdd _Devpack_ to any project's `Gemfile`:\n\n```ruby\n# Gemfile\ngroup :development, :test do\n  gem 'devpack', '~\u003e 0.4.0'\nend\n```\n\nRebuild your bundle:\n\n```bash\nbundle install\n```\n\n## Usage\n\nLoad _Devpack_ (if your gems are not auto-loaded as in e.g. a _Rails_ application environment):\n\n```ruby\nrequire 'devpack'\n```\n\n_Devpack_ will attempt to load all configured gems immediately, providing feedback to _stderr_. All dependencies are loaded with `require` after being recursively verified for compatibily with bundled gems before loading.\n\nIt is recommended to use a [global configuration](#global-configuration).\n\nWhen using a per-project configuration, `.devpack` files should be added to `.gitignore`.\n\n### Gem Installation\n\nA convenience command is provided to install all gems listed in `.devpack` file that are not already installed:\n\n```bash\nbundle exec devpack install\n```\n\n### Executing Commands Provided by DevPack Gems\n\nUse the `exec` command to run a command provided by a gem installed via _Devpack_.\n\nAn example use case of this is the [Guard](https://github.com/guard/guard) gem:\n\n```bash\nbundle exec devpack exec guard\n```\n\n### Initializers\n\nCustom initializers can be loaded by creating a directory named `.devpack_initializers` containing a set of `.rb` files.\n\nInitializers will be loaded in alphabetical order after all gems listed in the `.devpack` configuration file have been loaded.\n\nInitializers that fail to load (for any reason) will generate a warning.\n\n```ruby\n# .devpack_initializers/pry.rb\n\nPry.config.pager = false\n```\n\n#### Rails\n\nIf _Rails_ is detected then files in the `.devpack_initializers` directory will be loaded using the _Rails_ `after_initialize` hook (i.e. after all other frameworks have been initialized).\n\n```ruby\n# .devpack_initializers/bullet.rb\n\nBullet.enable = true\n```\n\n### Global Configuration\n\u003ca name=\"global-configuration\"\u003e\u003c/a\u003e\nTo configure globally simply save your `.devpack` configuration file to any parent directory of your project directory, e.g. `~/.devpack`.\n\nThis strategy also applies to `.devpack_initializers`.\n\n### Silencing\n\nTo prevent _Devpack_ from displaying messages on load, set the environment variable `DEVPACK_SILENT=1` to any value:\n```bash\nDEVPACK_SILENT=1 bundle exec ruby myapp.rb\n```\n\n### Disabling\n\nTo disable _Devpack_ set the environment variable `DEVPACK_DISABLE` to any value:\n```bash\nDEVPACK_DISABLE=1 bundle exec ruby myapp.rb\n```\n\n### Debugging\n\nTo see the full traceback of any errors encountered at load time set the environment variable `DEVPACK_DEBUG` to any value:\n```bash\nDEVPACK_DEBUG=1 bundle exec ruby myapp.rb\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobf%2Fdevpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobf%2Fdevpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobf%2Fdevpack/lists"}