Skip to content

Instantly share code, notes, and snippets.

@Echostream
Last active January 13, 2021 03:24
Show Gist options
  • Save Echostream/70c51803d428a008875f5dfd3f137529 to your computer and use it in GitHub Desktop.
Save Echostream/70c51803d428a008875f5dfd3f137529 to your computer and use it in GitHub Desktop.
install thrift0.11.0 by brew
# [brew install URL] will fail with message
# "Invalid usage: Installation of thrift from a GitHub commit URL is unsupported! "
# But it will succeed if download the thrift.rb at first
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/4ba654c6d99b3b6804dd3843546a9dcbb700188b/Formula/thrift.rb \
-O ~/Downloads/thrift.rb
brew install ~/Downloads/thrift.rb
brew pin thrift
thrift --version # show "Thrift version 0.11.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment