{"id":18648268,"url":"https://github.com/capistrano/rvm","last_synced_at":"2025-04-12T23:43:27.538Z","repository":{"id":55711146,"uuid":"11757837","full_name":"capistrano/rvm","owner":"capistrano","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-13T00:30:34.000Z","size":536,"stargazers_count":139,"open_issues_count":29,"forks_count":47,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-26T06:53:43.255Z","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/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:07:08.000Z","updated_at":"2023-06-09T20:33:08.000Z","dependencies_parsed_at":"2022-08-15T06:31:10.578Z","dependency_job_id":null,"html_url":"https://github.com/capistrano/rvm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capistrano%2Frvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capistrano","download_url":"https://codeload.github.com/capistrano/rvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647256,"owners_count":21139081,"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-07T06:29:57.171Z","updated_at":"2025-04-12T23:43:27.506Z","avatar_url":"https://github.com/capistrano.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capistrano::RVM\n\nRVM support for Capistrano v3:\n\n## Notes\n\n**If you use this integration with capistrano-rails, please ensure that you have `capistrano-bundler \u003e= 1.1.0`.**\n\nIf you want solution with RVM/rubies installer included, give a try to [rvm1-capistrano3](https://github.com/rvm/rvm1-capistrano3).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    # Gemfile\n    gem 'capistrano', '~\u003e 3.0'\n    gem 'capistrano-rvm'\n\nAnd then execute:\n\n    $ bundle install\n\n## Usage\n\nRequire in Capfile to use the default task:\n\n    # Capfile\n    require 'capistrano/rvm'\n\nAnd you should be good to go!\n\n## Configuration\n\nEverything *should work* for a basic RVM setup *out of the box*.\n\nIf you need some special settings, set those in the stage file for your server:\n\n    # deploy.rb or stage file (staging.rb, production.rb or else)\n    set :rvm_type, :user                     # Defaults to: :auto\n    set :rvm_ruby_version, '2.0.0-p247'      # Defaults to: 'default'\n    set :rvm_custom_path, '~/.myveryownrvm'  # only needed if not detected\n\n### RVM path selection: `:rvm_type`\n\nValid options are:\n  * `:auto` (default): just tries to find the correct path.\n                       `~/.rvm` wins over `/usr/local/rvm`\n  * `:system`: defines the RVM path to `/usr/local/rvm`\n  * `:user`: defines the RVM path to `~/.rvm`\n\n### Ruby and gemset selection: `:rvm_ruby_version`\n\nBy default the Ruby and gemset is used which is returned by `rvm current` on\nthe target host.\n\nYou can omit the ruby patch level from `:rvm_ruby_version` if you want, and\ncapistrano will choose the most recent patch level for that version of ruby:\n\n    set :rvm_ruby_version, '2.0.0'\n\nIf you are using an rvm gemset, just specify it after your ruby_version:\n\n    set :rvm_ruby_version, '2.0.0-p247@mygemset'\n\nor\n\n    set :rvm_ruby_version, '2.0.0@mygemset'\n\n### Custom RVM path: `:rvm_custom_path`\n\nIf you have a custom RVM setup with a different path then expected, you have\nto define a custom RVM path to tell capistrano where it is.\n\n### Custom Roles: `:rvm_roles`\n\nIf you want to restrict RVM usage to a subset of roles, you may set `:rvm_roles`:\n\n    set :rvm_roles, [:app, :web]\n\n## Restrictions\n\nCapistrano can't use RVM to install rubies or create gemsets, so on the\nservers you are deploying to, you will have to manually use RVM to install the\nproper ruby and create the gemset.\n\n\n## How it works\n\nThis gem adds a new task `rvm:hook` before `deploy` task.\nIt sets the `rvm ... do ...` for capistrano when it wants to run\n`rake`, `gem`, `bundle`, or `ruby`.\n\n\n## Check your configuration\n\nIf you want to check your configuration you can use the `rvm:check` task to\nget information about the RVM version and ruby which would be used for\ndeployment.\n\n    $ cap production rvm:check\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%2Frvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapistrano%2Frvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapistrano%2Frvm/lists"}