我删除了一些.rb文件(cassandra.rb,cassandra @ 2.1.rb和[email protected])来自mac系统的/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/
文件夹。我想要回这些.rb文件。
我认为brew upgrade
会让我回到那些删除的.rb文件回来,但他们仍然失踪。这些.rb文件对我来说安装软件包很重要。
brew install cassandra
给
如何取回自制到以前的状态?
Updating Homebrew...
Error: No available formula with the name "cassandra"
==> Searching for a previously deleted formula...
cassandra was deleted from homebrew/core in commit d20fe73:
cassandra: update 3.10_1 bottle.
To show the formula before removal run:
git -C "$(brew --repo homebrew/core)" show d20fe73^:Formula/cassandra.rb
If you still use this formula consider creating your own tap:
http://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html
请我需要的解决方案“如何找回这些.RB文件?”或“任何其他替代方式安装cassandra”。
谢谢。有效 :) – Badman