Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/earlopain/ruby-amalgam
Run against multiple ruby versions in one go
https://github.com/earlopain/ruby-amalgam
Last synced: 11 days ago
JSON representation
Run against multiple ruby versions in one go
- Host: GitHub
- URL: https://github.com/earlopain/ruby-amalgam
- Owner: Earlopain
- License: other
- Created: 2024-12-18T17:56:27.000Z (29 days ago)
- Default Branch: master
- Last Pushed: 2024-12-19T19:28:57.000Z (28 days ago)
- Last Synced: 2024-12-28T13:01:50.801Z (19 days ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby Amalgam
One docker image to run many Ruby versions. Similar to [ruby/all-ruby](https://github.com/ruby/all-ruby) but
doesn't contain literally every Ruby version.## How to use
```bash
$ docker compose build
$ docker compose run amalgam
Usage: docker compose run amalgam [options] [ruby_options]
--all
--start VERSION
--stop VERSION
--only VERSION$ docker compose run amalgam --all -ce "def foo(...) super(...) {} end"
===============2.0.0-p648================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^=================2.1.10==================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^=================2.2.10==================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^==================2.3.8==================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^=================2.4.10==================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^==================2.5.9==================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^~~=================2.6.10==================
-e:1: syntax error, unexpected ..., expecting ')'
def foo(...) super(...) {} end
^~~==================2.7.8==================
-e:1: both block arg and actual block given==================3.0.7==================
-e:1: both block arg and actual block given==================3.1.6==================
-e:1: both block arg and actual block given==================3.2.6==================
-e:1: both block arg and actual block given
-e: compile error (SyntaxError)==================3.3.6==================
Syntax OK==================3.4.1==================
/root/.rbenv/versions/3.4.1/bin/ruby: -e:1: syntax error found (SyntaxError)
> 1 | def foo(...) super(...) {} end
| ^~ both block arg and actual block given; only one block is allowed
2 |
```