https://github.com/basecamp/ruby-dev
Old Rubies on new Macs
https://github.com/basecamp/ruby-dev
ruby-build
Last synced: 11 months ago
JSON representation
Old Rubies on new Macs
- Host: GitHub
- URL: https://github.com/basecamp/ruby-dev
- Owner: basecamp
- Created: 2022-08-04T19:10:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T22:28:20.000Z (over 1 year ago)
- Last Synced: 2025-07-18T05:34:50.988Z (11 months ago)
- Topics: ruby-build
- Language: Roff
- Homepage:
- Size: 15.6 KB
- Stars: 22
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Old Rubies, meet new macOS and Ubuntu
Trying to run an old, unsupported Ruby? You're in the right place.
This is a collection of ruby-build definitions for local dev on macOS and Ubuntu. Not for production use. macOS (and Homebrew) or Ubuntu are required.
### mise
```bash
git clone https://github.com/basecamp/ruby-dev
RUBY_BUILD_DEFINITIONS="~/path/to/ruby-dev" mise use ruby@1.8.7-p374
```
### rbenv
```bash
git clone https://github.com/basecamp/ruby-dev
RUBY_BUILD_DEFINITIONS="./ruby-dev" rbenv install 1.8.7-p374
```
or
```bash
git clone https://github.com/basecamp/ruby-dev
cd ruby-dev
rbenv install ./1.8.7-p374
```
or
```bash
curl -O https://raw.githubusercontent.com/basecamp/ruby-dev/main/1.8.7-p374
rbenv install ./1.8.7-p374
```
(Note the leading `./` - this is a path to a specific build definition for ruby-build, not a version specific for it to look for among its built-in definitions.)