Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions commands/sync.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ fi
## attempt to install mutagen if not already present
if ! which mutagen >/dev/null; then
echo -e "\033[33mMutagen could not be found; attempting install via brew.\033[0m"
brew install havoc-io/mutagen/mutagen
if ! brew install mutagen-io/mutagen/mutagen; then
error "Failed to install Mutagen via brew."
>&2 printf "\nIf brew refused to load the formula from an untrusted tap, run:\n\n brew trust mutagen-io/mutagen\n brew install mutagen-io/mutagen/mutagen\n\n"
exit 1
fi
fi

## verify mutagen version constraint
MUTAGEN_VERSION=$(mutagen version 2>/dev/null) || true
MUTAGEN_REQUIRE=0.11.8
if [[ $OSTYPE =~ ^darwin ]] && ! test $(version ${MUTAGEN_VERSION}) -ge $(version ${MUTAGEN_REQUIRE}); then
error "Mutagen version ${MUTAGEN_REQUIRE} or greater is required (version ${MUTAGEN_VERSION} is installed)."
>&2 printf "\nPlease update Mutagen:\n\n brew upgrade havoc-io/mutagen/mutagen\n\n"
>&2 printf "\nPlease update Mutagen:\n\n brew upgrade mutagen-io/mutagen/mutagen\n\n"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion docs/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

* [Docker Desktop for Mac](https://hub.docker.com/editions/community/docker-ce-desktop-mac) 2.2.0.0 or later or [Docker for Linux](https://docs.docker.com/install/) or [Docker for Windows](https://docs.docker.com/desktop/windows/install/)
* `docker-compose` version 2.0 or later is required (this can be installed via `brew`, `apt`, `dnf`, or `pip3` as needed)
* [Mutagen](https://mutagen.io/) 0.11.4 or later is required for environments leveraging sync sessions on Mac OS. RollDev will attempt to install this via `brew` if not present.
* [Mutagen](https://mutagen.io/) 0.11.4 or later is required for environments leveraging sync sessions on Mac OS. RollDev will attempt to install this via `brew install mutagen-io/mutagen/mutagen` if not present. Recent Homebrew versions refuse formulae from untrusted third-party taps; if the install is blocked, run `brew trust mutagen-io/mutagen` first.

:::{warning}
**By default Docker Desktop for Mac allocates 2GB memory.**
Expand Down
Loading