{"id":18367686,"url":"https://github.com/jwplayer/verneutil","last_synced_at":"2026-03-02T03:03:49.490Z","repository":{"id":145494368,"uuid":"47420708","full_name":"jwplayer/verneutil","owner":"jwplayer","description":"Ruby virtual environments","archived":false,"fork":false,"pushed_at":"2019-10-30T15:02:38.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-22T03:51:13.053Z","etag":null,"topics":["devops"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/jwplayer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-12-04T18:02:12.000Z","updated_at":"2019-10-30T15:02:40.000Z","dependencies_parsed_at":"2023-04-30T05:46:18.447Z","dependency_job_id":null,"html_url":"https://github.com/jwplayer/verneutil","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/jwplayer%2Fverneutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fverneutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fverneutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwplayer%2Fverneutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwplayer","download_url":"https://codeload.github.com/jwplayer/verneutil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247513076,"owners_count":20950986,"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":["devops"],"created_at":"2024-11-05T23:22:57.361Z","updated_at":"2026-03-02T03:03:44.449Z","avatar_url":"https://github.com/jwplayer.png","language":"Shell","readme":"verneutil\n=========\n\nVirtual environments for your rubies!\n\n\n`verneutil` has 2 modes: a controller mode and a client mode. The client mode\nis what you will use to create virtual environments and is what you will use\n95% of the time.\n\nThe controller mode is used to ... wait for it ... control `verneutil`. That is\nto say: initialize the application, install rubies, etc.\n\n\nGreat! Let's get started.\n\nInstalling \u0026 Managing `verneutil`\n---------------------------------\n\n### 1) Install `verneutil`\nClone the repo to a reasonable location for your needs:\n\n```bash\ngit clone https://github.com/jwplayer/verneutil.git /usr/local/lib/verneutil\n```\n\nCreate link in your system path, for example:\n\n```bash\nln -s /usr/local/lib/verneutil/bin/verneutil /usr/local/bin/verneutil\n```\n\n\n### 2) Initialize the application\nThere are submodules and what not included with verneutil... go ahead\nand initialize it so that all is well:\n\n```bash\nverneutil init\n```\n\n### 3) Install some rubies.\nNow, you should be able to install versions on rubies you want to use\nall over the place, for instance:\n\n```bash\nverneutil ctl --install 2.2.3\n```\n\nand,\n\n```bash\nverneutil ctl --install 2.1.7\n```\n\n\nCreating virtual rubies\n-----------------------\n\n### 1) List available rubies\nYou can always see what rubies are available for your use by using the\n`-l` or `--list` option, like so:\n\n```bash\n$ verneutil --list\n* 2.1.7\n* 2.2.3\n```\n\n### 2) Create a virtual environment\nYou can create a virtual environment with the `--create` option and specifying\nthe relative path (relative to the path where `verneutil` is being called from)\nwhere the virtual environment should be installed along with the version of\nruby you want installed in that virualenvironment. The rubies available can be listed\nby running `virtualenv -l` (see above).\n\nFor example, to create and virtual environment in the `env` directory which\nhas ruby version 2.2.3 installed:\n\n```bash\nverneutil --create env 2.2.3\n```\n\n### 3) Activate the environment\nYep, you gotta to activate it:\n\n```bash\nsource env/activate\n```\n\nor,\n\n```bash\n. env/activate\n```\n\n\n### 4) Deactivate when you're done\nDeactivate the virtual environment when you're done with it to restore\nyour environments variables and paths:\n\n```bash\ndeactivate\n```\n\n\n\nSystem Depencies\n----------------\nAt a minimum on ubuntu you'll need the following packages in order to compile\nrecent versions of ruby (~v2.1+):\n\n* `git`\n* `curl` or `wget`\n* `libssl-dev`\n* `libreadline-dev `\n* `zlib1g-dev`\n* `build-essential`\n\nIf you want to install old rubies (~v1.8), you'll probably need some additional\npackages like:\n\n* `subversion`\n* `autoconf`\n* `byacc`\n\n\nKnown Issues\n------------\nSomewhere around \u003c= ruby v2.0.0 `gem` is really badly behaved. It's possible that\n`gem` will write into `~/.gem` even if you don't want it to... deal with it.\n\nI don't really know what's going to happen when you use `rubinius` or  `mruby`.\n\n\nAbout the name\n--------------\n`verneutil` is a bastardization of \"verneuil\" (go ahead, [look it up][verneuil_process]). And before you ask it's [MIT-licensed][license_file].\n\n\n[verneuil_process]: https://en.wikipedia.org/wiki/Verneuil_process\n[license_file]: https://raw.githubusercontent.com/jwplayer/verneutil/master/LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fverneutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwplayer%2Fverneutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwplayer%2Fverneutil/lists"}