wende / autocomplete-elixir

Intelligent Elixir autocompletion provider for Atom autocomplete-plus
MIT License
42 stars 11 forks source link

Failed to spawn command elixir. Make sure elixir is installed and in your PATH #12

Closed 7sharp9 closed 9 years ago

7sharp9 commented 9 years ago

But elixir is in my path:

Daves-MacBook-Pro:md-addins dave$ which elixir
/usr/local/bin/elixir
Daves-MacBook-Pro:md-addins dave$ elixir
Usage: elixir [options] [.exs file] [data]
cloudbring commented 9 years ago

😤 I am getting this too.

cloudbring commented 9 years ago

💻 Setup

$ which elixirc
/usr/local/bin/elixirc
$ brew info elixir
elixir: stable 1.0.4 (bottled), HEAD
http://elixir-lang.org/
/usr/local/Cellar/elixir/1.0.4 (329 files, 4.3M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/elixir.rb
$ elixir -v
Elixir 1.0.4
wende commented 9 years ago

It's MacOS-only problem. You've got no acces to path from GUI. Start atom from command line and everything will work just fine. I've got no idea what to do about it

wende commented 9 years ago

Apparently it's for every Finder application, not only atom. http://apple.stackexchange.com/q/51677

patrickbrown-dev commented 9 years ago

Lot's of plugins have a way to point to the executable in the config, you should consider doing the same.

wende commented 9 years ago

@ptrckbrwn Just did in 3df5741

patrickbrown-dev commented 9 years ago

Awesome! :smile:

mager commented 6 years ago

This package was deprecated: https://atom.io/packages/autocomplete-elixir

Use atom-elixir instead.