Closed shivakumaarmgs closed 8 years ago
I have the same setup and here is the problem: https://github.com/taylor/kiex/blob/master/kiex#L126
The right path has to be /usr/lib64/erlang/releases/RELEASES
while the script yields: /usr/lib64/erlang/erts-6.3/bin/../releases/RELEASES
Hence adding one more '/..' fixes the problem. Under Kubuntu 15.04 the path is the same as on Fedora, so I guess this is no packaging problem.
i still get the error the error of not finding the erlang release file. I'm trying to build a docker image
# install erlang
RUN kerl build 18.0 18.0
RUN mkdir ~/.kerl/installs/ && mkdir ~/.kerl/installs/18.0
RUN kerl install 18.0 ~/.kerl/installs/18.0
RUN echo ". ~/.kerl/installs/18.0/activate" >> ~/.bashrc
RUN echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
# install elixir
RUN \curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s
RUN echo 'test -s "$HOME/.kiex/scripts/kiex" && source "$HOME/.kiex/scripts/kiex"' >> ~/.bashrc
RUN /bin/bash -c 'source ~/.bashrc && kiex install 1.0.5 && kiex default 1.0.5'
I just had to use kiex on an elementary and had to revert my PR to get this running. The problem is that with 'readlink -f $(which erl 2> /dev/null)' you get the erl executable in the erlang/erts*/bin folder or in the erlang/bin folder (probably depending on your package). If yours is the latter case my last PR breaks kiex for you. Sorry for this :/
Maybe a check should be built in to see where the release file resides.
EDIT: I'll have a look at this tomorrow.
Elixir version 1.1.1 is successfully installed after #31. Closing this.
I'm couldn't install Elixir in my Fedora-22 machine. I have already installed Erlang using dnf but when I try to install Elixir with the command
kiex install master
it saysBut I have a working version of Erlang 17
Information on the OS
Is there a way to fix this?