Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shopify/ruby-definitions
Definitions to build the Ruby we use at Shopify in development, testing, and production.
https://github.com/shopify/ruby-definitions
ruby
Last synced: 6 days ago
JSON representation
Definitions to build the Ruby we use at Shopify in development, testing, and production.
- Host: GitHub
- URL: https://github.com/shopify/ruby-definitions
- Owner: Shopify
- License: mit
- Created: 2023-06-01T12:54:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-02T14:38:36.000Z (26 days ago)
- Last Synced: 2025-01-15T04:36:01.379Z (13 days ago)
- Topics: ruby
- Language: Ruby
- Homepage:
- Size: 704 KB
- Stars: 58
- Watchers: 106
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# shopify-ruby-definitions
This repository contains [ruby-build](https://github.com/rbenv/ruby-build/) definitions of Rubies we use at Shopify.
These builds are API compliant with release Rubies, but with additional backports for bugfixes and performance.## rbenv integration
If you use `rbenv`, you can add the custom rubies with:
```bash
$ gem install shopify-ruby-definitions
$ eval "$(shopify-ruby env)"
```## standalone ruby-build
If you are using another ruby version manager or no manager at all:
1. Install ruby-build by [following the instructions](https://github.com/rbenv/ruby-build/#installation).
2. Install the gem:
```bash
$ gem install shopify-ruby-definitions
```3. List the custom Ruby versions available:
```bash
$ shopify-ruby versions
3.0.0-pshopify9
3.0.1-pshopify2
3.0.2-pshopify3
3.1.0-pshopify1
3.1.1-pshopify2
3.1.2-pshopify2
3.1.3-pshopify1
3.1.4-pshopify1
3.2.0-pshopify2
3.2.1-pshopify5
3.2.2-pshopify3
3.2.2-pshopify4
```4. Install the Ruby version you want, [options are the same than regular `ruby-build`](https://github.com/rbenv/ruby-build#advanced-usage):
```bash
$ shopify-ruby build 3.2.2-pshopify4 ~/.rubies/versions/3.2.2
```5. Resolve a less specific version to one of these definitions
```bash
$ shopify-ruby resolve 3.2
$ shopify-ruby resolve 3.2
3.2.2-pshopify4
```