You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add 7.1 and ruby-head to matrix
Fix bad git usage
7.1.0 released
Docker get newer node and docs
* Fix yarn install in Dockerfile
* Upgrade demo app to 7.1
* Test pass except for demo
* RuboCop fixes
* Schema without version for older Rails
* Remove unneeded migrations.
* Add action_mailbox_inbound_emails to schema
* Did I need headless_chrome?
* CR feedback
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,13 +85,20 @@ Docker is _not_ required to work on this gem.
85
85
86
86
The `docker-compose` approach should link to enough of your networking configuration that you can release the gem.
87
87
However, you have to do some of the configuration yourself, because it's dependent on your host operating system.
88
+
89
+
First, build the image for whatever version of Ruby you need (typically either the earliest supported version or the latest):
90
+
91
+
```bash
92
+
RUBY_VERSION=3.2 docker-compose build
93
+
```
94
+
88
95
You can run a shell in a Docker container that pretty much should behave like a Debian distribution with:
89
96
90
97
```bash
91
98
docker-compose run --service-ports shell
92
99
```
93
100
94
-
(`--service-ports` exposes port 3000 so you can browse to the demo app on `localhost:3000`. If you just want to run a on-off command, or run the test suite, leave off the `--service-ports`.)
101
+
(`--service-ports` exposes port 3000 so you can browse to the demo app on `localhost:3000`. If you just want to run a one-off command, or run the test suite, leave off the `--service-ports`.)
95
102
96
103
The following instructions work for an Ubuntu host, and will probably work for other common Linux distributions.
0 commit comments