{"id":20081907,"url":"https://github.com/eval/bundle-try","last_synced_at":"2025-03-02T13:41:44.335Z","repository":{"id":32191204,"uuid":"35764732","full_name":"eval/bundle-try","owner":"eval","description":"Start a REPL with the gems you want to try","archived":false,"fork":false,"pushed_at":"2015-08-04T14:01:51.000Z","size":440,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T11:07:30.724Z","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/eval.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-17T12:11:01.000Z","updated_at":"2019-08-06T21:18:46.000Z","dependencies_parsed_at":"2022-09-11T17:24:26.541Z","dependency_job_id":null,"html_url":"https://github.com/eval/bundle-try","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eval%2Fbundle-try","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eval%2Fbundle-try/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eval%2Fbundle-try/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eval%2Fbundle-try/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eval","download_url":"https://codeload.github.com/eval/bundle-try/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241515953,"owners_count":19975140,"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-11-13T15:40:54.216Z","updated_at":"2025-03-02T13:41:44.317Z","avatar_url":"https://github.com/eval.png","language":"Ruby","readme":"# Bundle Try\n\nOpen a REPL with the gems you want to try.  \nQuick weekend-hack inspired by [lein-try](https://github.com/rkneufeld/lein-try).\n\n## Installation\n\n```\ngem install bundle-try\n```\n\n## Usage\n\nBy default `bundle try some_gem` will start a Ruby REPL.  \nTo open a shell (i.e. to use gem executables) do: `bundle try --shell some_gem`.\n\nSome examples:\n\n```\n$ bundle try redis\n... some bundling ...\nirb(main):001:0\u003e Redis\n=\u003e Redis\n```\n\nMultiple gems:\n\n```\n$ bundle try redis rake\n```\n\nSpecific version:\n\n```\n$ bundle try redis '3.1.0'\n```\n\n...or any requirement that would be understood by bundler:\n\n```\n$ bundle try redis '~\u003e 3.1.0'\n```\n\nCombined with gems that don't need a specific version:\n\n```\n$ bundle try redis '~\u003e 3.1.0' rake gem_with_version '1.0'\n```\n\nGithub repository:\n\n```\n$ bundle try https://github.com/jeremyevans/sequel # or the clone-url with .git\n```\n\n...or via the short notation:\n\n```\n$ bundle try gh:jeremyevans/sequel\n```\n\nSpecific Github version:\n\n```\n$ bundle try gh:jeremyevans/sequel 4.21.0\n```\n\nPrepend the gem-name when it can't be derived from the url:\n\n```\n$ bundle try redis@gh:redis/redis-rb\n```\n\nGem in a gist (see [the gist](https://gist.github.com/eval/66f7bfaf17d364ddd232) as an example of a minimum viable gem):\n\n```\n$ bundle try rot13@https://gist.github.com/eval/66f7bfaf17d364ddd232\n```\n\nNothing will be written to the current directory, so it's save to run from an existing project-folder.\nBut if you need the Gemfile:\n\n```\n$ bundle try rake \u003e Gemfile\n```\n\nFeeling lucky?\n\n```\n# Gemception\n$ bundle try bundle-try\n```\n\n\n## Developing\n\nRun the features:\n\n```\n$ bundle exec cucumber\n```\n\n## Is it any good?\n\nGlad you ask! Yes, it's 'Cloons Approved'. This, as my Ruby-friend [Elizabeth](https://twitter.com/_elsapet) learned me, means that if this gem would've had a slightly bigger budget, there would be a nice Nespresso-like commercial with George himself vowing for this software.  \n\n![image](assets/cloons-approved.png)\n\nThanks to [Odaeus](https://github.com/Odaeus) for the image.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feval%2Fbundle-try","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feval%2Fbundle-try","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feval%2Fbundle-try/lists"}