Skip to content

rexenv won't open

On macOS and Windows almost every “it won’t open” is the operating system refusing an unsigned build, not a bug — and it is a one-time step. rexenv is open source and earns nothing, so it buys no code-signing certificate. Linux has no such gate; there it is almost always a missing library or a desktop without a tray.

“rexenv can’t be opened” / “unidentified developer”

Section titled ““rexenv can’t be opened” / “unidentified developer””

This is expected on the disk-image install. rexenv is ad-hoc code-signed and not yet notarized by Apple, so Gatekeeper blocks the first plain double-click.

Right-click (or Control-click) rexenv in Applications → Open → Open again in the dialog.

If you already double-clicked and got blocked: System Settings → Privacy & Security, scroll down to the rexenv message, Open Anyway, then Open.

After once, rexenv opens normally from then on.

“The app is damaged and can’t be opened”

Section titled ““The app is damaged and can’t be opened””

Same cause, different wording: macOS is reporting the quarantine attribute on a downloaded file, not actual damage. The right-click → Open above clears it.

If you want to confirm nothing is actually wrong with the download, check it against the published checksum:

Terminal window
shasum -a 256 -c rexenv_*_universal.dmg.sha256

First, look at the menu bar, not the dock. rexenv has no dock icon: a launch puts a crowned-R icon in the menu bar, and Open rexenv in its menu shows the window. A launch from Start rexenv at login deliberately opens no window at all. If the icon is there, rexenv is open.

If there is no icon either, check your macOS version — rexenv needs macOS 13 (Ventura) or later (0.8.6 and earlier needed 15):

Terminal window
sw_vers -productVersion

Below 15, rexenv installs and then cannot share a site, because the pinned cloudflared build will not launch there. See Requirements.

macOS finds an app by its bundle id, not by where it sits. A second copy of rexenv.app — an old one in Downloads, a build left in a project folder — means open -a rexenv, Spotlight and the login item can all start the copy you did not mean. Both copies share the same data folder and the same services, so the symptom is not two apps: it is one app that is the wrong version. rexenv refuses to run twice against one data folder, so the second launch just brings the running copy to the front. Keep exactly one copy, and drag the old one to the Trash after updating.

That is a different problem from this page — the app is running and something in the stack is refusing. From a terminal:

Terminal window
rex doctor

It reports what is wrong and, where a fix exists, what to do about it. The most common answer is that another program already holds port 80 or 443 — often a system nginx or Apache, IIS, or another local dev environment that is still running.

Open an issue at github.com/rexenv/rexenv, and include the output of rex doctor and your operating system version. Those two answer most of the first round of questions.