{"id":13818274,"url":"https://github.com/capistrano/rbenv","last_synced_at":"2025-05-16T07:06:45.680Z","repository":{"id":9783910,"uuid":"11757804","full_name":"capistrano/rbenv","owner":"capistrano","description":"Idiomatic rbenv support for Capistrano 3.x","archived":false,"fork":false,"pushed_at":"2020-08-09T01:35:31.000Z","size":61,"stargazers_count":201,"open_issues_count":14,"forks_count":60,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-05-17T08:02:54.156Z","etag":null,"topics":["capistrano","rbenv"],"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/capistrano.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}},"created_at":"2013-07-30T06:04:44.000Z","updated_at":"2024-05-17T08:02:54.157Z","dependencies_parsed_at":"2022-08-05T13:34:56.871Z","dependency_job_id":null,"html_url":"https://github.com/capistrano/rbenv","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frbenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frbenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frbenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frbenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capistrano","download_url":"https://codeload.github.com/capistrano/rbenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485066,"owners_count":22078767,"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":["capistrano","rbenv"],"created_at":"2024-08-04T07:00:39.485Z","updated_at":"2025-05-16T07:06:40.660Z","avatar_url":"https://github.com/capistrano.png","language":"Ruby","funding_links":[],"categories":["Awesome Capistrano"],"sub_categories":["Gems"],"readme":"# Capistrano::rbenv\n\nThis gem provides idiomatic rbenv support for Capistrano 3.x (and 3.x\n*only*).\n\n## Please Note\n\nIf you want to use this plugin with Cap 2.x, please use 1.x version of the gem.\nSource code and docs for older integration is available in [another repo](https://github.com/yyuu/capistrano-rbenv)\n\nThanks a lot to [@yyuu](https://github.com/yyuu) for merging his gem with official one.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'capistrano', '~\u003e 3.9'\n    gem 'capistrano-rbenv', '~\u003e 2.2'\n\nAnd then execute:\n\n    $ bundle install\n\n## Usage\n\n    # Capfile\n    require 'capistrano/rbenv'\n\n\n    # config/deploy.rb\n    set :rbenv_type, :user # or :system, or :fullstaq (for Fullstaq Ruby), depends on your rbenv setup\n    set :rbenv_ruby, '2.4.2'\n\n    # in case you want to set ruby version from the file:\n    # set :rbenv_ruby, File.read('.ruby-version').strip\n\n    set :rbenv_prefix, \"RBENV_ROOT=#{fetch(:rbenv_path)} RBENV_VERSION=#{fetch(:rbenv_ruby)} #{fetch(:rbenv_path)}/bin/rbenv exec\"\n    set :rbenv_map_bins, %w{rake gem bundle ruby rails}\n    set :rbenv_roles, :all # default value\n\nIf your rbenv is located in some custom path, you can use `rbenv_custom_path` to set it.\n\n### Defining the ruby version\n\nTo set the Ruby version explicitly, add `:rbenv_ruby` to your Capistrano configuration:\n\n    # config/deploy.rb\n    set :rbenv_ruby, '2.4.2'\n\nAlternatively, allow the remote host's `rbenv` to [determine the appropriate Ruby version](https://github.com/rbenv/rbenv#choosing-the-ruby-version) by omitting `:rbenv_ruby`. This approach is useful if you have a `.ruby-version` file in your project.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapistrano%2Frbenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapistrano%2Frbenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapistrano%2Frbenv/lists"}