crystal-lang / homebrew-crystal

Homebrew Tap for Crystal development
13 stars 10 forks source link

Cannot install crystal-lang because crystal formula cannot be found #4

Closed agnoster closed 9 years ago

agnoster commented 9 years ago
$ brew tap manastech/crystal
==> Tapping manastech/crystal
...
$ brew install crystal-lang
==> Installing crystal-lang from manastech/homebrew-crystal
Error: No available formula for crystal
Searching formulae...
manastech/crystal/crystal-lang  manastech/crystal/libtask       manastech/crystal/micoro
Searching taps...

Possibly because of the conflicts_with directive?

waj commented 9 years ago

Did you try a brew update before install?

agnoster commented 9 years ago

Ah yup, that did it! Thanks! :-)

agnoster commented 9 years ago

(The docs at http://crystal-lang.org/docs/installation/on_mac_osx_using_homebrew.html should probably be updated because it should be brew install crystal-lang now, correct?)

waj commented 9 years ago

Correct. As far as I know @asterite was about to fix it but he didn't push yet. We had to change the name because another package named "crystal" was added to the official homebrew repository.

agnoster commented 9 years ago

Gotcha.

Just out of curiosity do they actually conflict (crystal-lang and crystal)? Or is it just to avoid people thinking they have the wrong package?

waj commented 9 years ago

Yes, because it also installs a "crystal" command.

asterite commented 9 years ago

Done! http://crystal-lang.org/docs/installation/on_mac_osx_using_homebrew.html

agnoster commented 9 years ago

@waj That's a pity :-/

Thanks for the help and the quick turnaround on the docs, looking forward to checking this cool-looking language out!