taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

Problem with v 1.5.1 (erl bin not found) #76

Closed DavydenkovM closed 6 years ago

DavydenkovM commented 6 years ago

Hi there! I have an error during installation of the 1.5.1 Elixir version with the following setup (macOS Siera 10.12.6):

davydenkovm@Mikhails-MBP ~/work/kiex (master) $ uname -s
Darwin
davydenkovm@Mikhails-MBP ~/work/kiex (master) $ which kerl
/usr/local/bin/kerl
davydenkovm@Mikhails-MBP ~/work/kiex (master) $ which erl
/Users/davydenkovm/.kerl/20.1/bin/erl
davydenkovm@Mikhails-MBP ~/work/kiex (master) $ which kiex
/Users/davydenkovm/.kiex/bin/kiex
davydenkovm@Mikhails-MBP ~/work/kiex (master) $ erl
Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V9.1  (abort with ^G)

davydenkovm@Mikhails-MBP ~/work/kiex (master) $ kiex list known
Getting the available releases from https://github.com/elixir-lan

Known Elixir releases:
    0.7.2
    ...
    1.5.1

davydenkovm@Mikhails-MBP ~/work/kiex (master) $ kiex install 1.5.1
Failed to extract the erlang release!
That Elixir requires Erlang R17 or later
Erlang installation choices:
   * Download - https://www.erlang-solutions.com/downloads/download-erlang-otp
                http://www.erlang.org/download.html
   * Kerl - https://github.com/spawngrid/kerl
   * Package manager -
           Arch: See AUR package,
           FreeBSD: pkg install erlang
           OS X: brew install erlang
           Ubuntu/Debian/CentOS see erlang-solutions.com

Is there something wrong with kiex or should I try to install some OS build tools? (I have tried brew install coreutils but it doesn't help)

Thanks in advance for your attention!

aboroska commented 6 years ago

Fixed in #75

taylor commented 6 years ago

@DavydenkovM, please test again. #75 has been merged.

DavydenkovM commented 6 years ago

It works like a charm! Thank you 👍