Skip to content

Instantly share code, notes, and snippets.

@mfdj
Created July 27, 2020 04:54
Show Gist options
  • Save mfdj/7cbaa8c07bcffa25fa37b7d824bb2135 to your computer and use it in GitHub Desktop.
Save mfdj/7cbaa8c07bcffa25fa37b7d824bb2135 to your computer and use it in GitHub Desktop.
installing capybara-webkit on Catalina
# installing capybara-webkit on Catalina via Monitor wiki
brew update
cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core
git show 9ba3d6ef8891e5c15dbdc9333f857b13711d4e97 > /dev/null || git fetch --unshallow
git checkout 9ba3d6ef8891e5c15dbdc9333f857b13711d4e97 Formula/[email protected]
type -a gsed || brew install gnu-sed
gsed -i 's/depends_on :macos => :mountain_lion//' Formula/[email protected]
brew install [email protected]
# now gem install capybara-webkit -v '1.15.1' will work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment