使用brew安装非常旧的版本

时间:2017-04-07 17:05:31

标签: ruby elasticsearch homebrew legacy-database

这里写的是一个非常漂亮的问题:Homebrew install specific version of formula?,但是解决方案对我不起作用,我相信由于brew的变化。

我目前正在尝试将1.7.5版本的弹性搜索安装到我的计算机上,但目前无法使用。它没有保存在我的机器上,我想他们已经删除了brew版本,因为我无法使用它,并且正在运行

brew tap homebrew/boneyard
brew versions elasticsearch

引发错误Error: Unknown command: version

我想知道我有什么其他选项来安装弹性搜索1.7.5,特别是关于brew,但至少我可以将它用于我的本地设置(我们需要升级服务器,但首先我需要得到它正在运行。)

该版本也可在此处下载https://www.elastic.co/downloads/past-releases/elasticsearch-1-7-5,但我再次不确定如何在我的rails项目上运行它。

谢谢!

1 个答案:

答案 0 :(得分:1)

I've come closer to a solution! I think the best solution we'll get is to abandon brew and just run elasticsearch.

You can download the tar ball and then run ./elasticsearch inside the bin.

I found decent instructions here: https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html

This said it's still not running with my rails site, however I think the issue may be something else as this point. I'll edit this if I find a better solution.