想要使用Elasticsearch,我可以将Searchkick gem用于我的应用程序。在firefox上安装了最新版本的java。安装了Searchkick宝石。但是当我输入brew install elasticsearch get和错误消息时
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0
安装了Homebrew,检查我是否运行了ruby -e" $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"并得到了
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
有解决方法,还是我必须下载Elasticsearch文件并手动安装?
答案 0 :(得分:1)