0

Want to use Elasticsearch so I can use the Searchkick gem for my app. Installed the latest version of java on firefox. installed the Searchkick gem. but when I type brew install elasticsearch get and error message

 /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

Have Homebrew installed , to check i ran ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" and got

It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:

It there way to fix this or do i have to download the Elasticsearch file and install it manually?

Neil
  • 559
  • 1
  • 5
  • 21
  • 1
    See this post: http://stackoverflow.com/questions/24225959/how-to-get-ruby-homebrew-rvm-to-work-on-yosemite – trosborn Feb 14 '15 at 21:59

1 Answers1

1

this seems to be a problem with homebrew and yosemite. maybe this can help? https://apple.stackexchange.com/questions/153790/how-to-fix-brew-after-its-upgrade-to-yosemite

Community
  • 1
  • 1
srecnig
  • 898
  • 1
  • 7
  • 13