I am trying to install elixir in ubuntu... I had followed this instructions.
Everthing seems fine, but when I try to execute the mix comand, system asnwered me this:
bash: /usr/bin/mix: No such file or directory
Thanks you.
I am trying to install elixir in ubuntu... I had followed this instructions.
Everthing seems fine, but when I try to execute the mix comand, system asnwered me this:
bash: /usr/bin/mix: No such file or directory
Thanks you.
Just ran into the same problem. The guide you linked installs mix to /usr/local/bin/mix instead of /usr/local/mix. I created a symlink /usr/bin/mix but expanding $PATH is probably a better way to fix this.
~$ mix
-bash: /usr/bin/mix: No such file or directory
~$ which mix
/usr/local/bin/mix
~$ sudo ln -s /usr/local/bin/mix /usr/bin/mix
~$ mix
** (Mix) Could not find a Mix.Project, please ensure a mix.exs file is available
cdinto directory wheremix.exsfile is available (mixisn't a global command that works everywhere) - Alex Avoiants