I'm sorry but I'm new to Elixir. while building phoenix application, mix deps.get
failed with an error.
% mix deps.get
Could not find Hex, which is needed to build dependency :phoenix
Shall I install Hex? [Yn] y
** (MatchError) no match of right hand side value: {:error, {:ssl, {'no such file or directory', 'ssl.app'}}}
(mix) lib/mix/utils.ex:409: Mix.Utils.read_httpc/1
(mix) lib/mix/utils.ex:354: Mix.Utils.read_path/2
(mix) lib/mix/local.ex:107: Mix.Local.read_path!/2
(mix) lib/mix/local.ex:86: Mix.Local.find_matching_versions_from_signed_csv!/2
(mix) lib/mix/tasks/local.hex.ex:23: Mix.Tasks.Local.Hex.run/1
(mix) lib/mix/dep/loader.ex:140: Mix.Dep.Loader.with_scm_and_app/4
(mix) lib/mix/dep/loader.ex:98: Mix.Dep.Loader.to_dep/3
(elixir) lib/enum.ex:1043: anonymous fn/3 in Enum.map/2
%
erlang and elixir has been installed via kerl and asdf. and my installation log is here http://otiai10.hatenablog.com/entry/2016/02/03/154953
envirionment
- MacOS: 10.11.2
- Erlang: 18.0
- Elixir: 1.1.1
What is happening and what should I do?
mix local.hex
gives the same error output :( Does it seems like an error while installing Hex, right? – Ti--enable-dynamic-ssl-lib
option, but it resulted in the same. Then I want to try--with-ssl
, but do you have any idea where to specify openssl lib PATH on MacOS? – Ti