{"id":19010300,"url":"https://github.com/railsware/multiversion","last_synced_at":"2026-03-06T06:32:06.949Z","repository":{"id":56884828,"uuid":"2512778","full_name":"railsware/multiversion","owner":"railsware","description":"Use Bundler and RVM to test your library against different gem versions and/or ruby versions.","archived":false,"fork":false,"pushed_at":"2011-10-11T11:38:31.000Z","size":101,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-12-21T12:30:18.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/railsware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-04T15:27:13.000Z","updated_at":"2015-09-22T03:00:00.000Z","dependencies_parsed_at":"2022-08-20T13:10:51.934Z","dependency_job_id":null,"html_url":"https://github.com/railsware/multiversion","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/railsware/multiversion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fmultiversion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fmultiversion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fmultiversion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fmultiversion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/railsware","download_url":"https://codeload.github.com/railsware/multiversion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fmultiversion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-08T19:10:47.361Z","updated_at":"2026-03-06T06:32:06.441Z","avatar_url":"https://github.com/railsware.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiversion\n\n## Overview\n\nUse Bundler and RVM to test your library against different gem versions and/or ruby versions.\n\n## How it works\n\nIn your project create several Gemfiles with specified rvm alias in name. E.g:\n\n    Gemfile.RVM_ALIAS_NAME\n\nExamples:\n\n    Gemfile.ar12_r186\n    Gemfile.ar30_r187\n    Gemfile.ar30_r192\n    Gemfile.ar31_r192\n\nCreate aliases\n\n    rvm alias create ar12_r186 ruby-1.8.6-p420\n    rvm alias create ar30_r187 ruby-1.8.7-p352\n    rvm alias create ar30_r192 ruby-1.9.2-p290\n    rvm alias create ar31_r192 ruby-1.9.2-p290\n\n\nSo in each Gemfile you specify certain gem versions gems you need.\nGemfile file name extension contains some unique name optionaly suffixed with ruby version.\nSo in our example Gemfiles with rvm aliases compination mean:\n\n* ar12_r186 - test library with ActiveRecord v1.15.6 and ruby-1.8.6-p420\n* ar30_r187 - test library with ActiveRecord v3.0.10 and ruby-1.8.7-p352\n* ar30_r192 - test library with ActiveRecord v3.0.10 and ruby-1.9.2-p290\n* ar31_r192 - test library with ActiveRecord v3.1.0  and ruby-1.9.2-p290\n\nSo Gemfile extension says about **main traits** of testing environment.\nAll certain gem versions are specified in corresponding Gemfile.\n\nSo for each extension name we explicit knows:\n\n* which ruby version is required (through rvm alias)\n* which gems versions are required (through Gemfile filename )\n\n## Executing commands\n\n### Common syntax\n\nSynopsis:\n\n    multiversion [all|alias1,alias2,...] [exec|bundle|rspec] [args]\n\nExamples:\n\n    multiversion ar1_186 exec ruby --version\n    multiversion ar3_193 exec ruby --version\n\n\n### Main execution wrapper\n\nExecute any command under environment modified rvm/bundler:\n\n    multiversion [all|alias1,alias2,...] exec [command] [args]\n\n### Bundle command wrapper\n\nExecute bundle command under environment modified rvm/bundler:\n\n    multiversion [all|alias1,alias2,...] bundle [bundler_command] [args]\n\nExamples:\n\n    multiversion all bundle install\n\n\n### Rspec command wrapper\n\nExecute rspec command under environment modified rvm/bundler:\n\n    multiversion [all|alias1,alias2,...] rspec [rspec args]\n\nExamples:\n\n    multiversion all rspec -fs -c spec\n\n**Note**. It use *multiversion-rspec* bin that detects rspec version.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsware%2Fmultiversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frailsware%2Fmultiversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsware%2Fmultiversion/lists"}