Giter Site home page Giter Site logo

kiex's Introduction

kiex - Elixir version manager

Kiex allows you to easily build and switch between different Elixir versions.

It supports setting the default (global) Elixir version as well as per shell/project versions.

Everything is self-contained under ~/.kiex.

Usage is based lightly on RVM, kerl, and rbenv.

NOTE: Some Erlang source builds are broken. See below.

Install

Prerequisites: bash, curl, erlang, git, make, openssl

Run the following to get up and running:

\curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s

which will install in $HOME/.kiex.

Usage

List installed versions

  • kiex list

List known releases

  • kiex list known (or kiex list releases)

List current branches

  • kiex list branches

Install a known release or branch.

  • kiex install 0.12.5

Use specific elixir version

  • kiex use 0.12.5 -- Sets the elixir version for current shell.

Create an alias for the specified elixir version

  • kiex alias 0.12.5 0.12

Use sub-shell with specific elixir version

  • kiex shell 0.12.5 -- Starts sub-shell with given elixir version. Exiting shell goes to default.

Set default elixir version

  • kiex default 0.12.5

Uninstall kiex and elixirs

  • kiex implode -- This removes all versions of elixir installed by kiex as well as all kiex components

Upgrade kiex

  • kiex selfupdate -- pull down latest updates for kiex
    • Can also re-curl

Sourcing elixir into your path

After installing your preferred version of elixir and setting it as your default you can use kiex scripts to put your default elixir bin into your path. One way to do this is to add the following line into your rc file:

[[ -s "$HOME/.kiex/scripts/kiex" ]] && source "$HOME/.kiex/scripts/kiex"

Design philosophy

  • KISS
  • Sane defaults
  • Self-contained
  • Single-purpose

Comparison Q&A

How is it like exenv (rbenv)?

  • Super light and simple
  • Focus on installing & managing one piece of software: Elixir

How is it not like exenv?

  • Does not use shims
  • Includes elixir build component

How is it like Kerl?

  • Minimal command set
  • Retrieves, builds, installs and manages different releases

How is it not like Kerl?

  • Not as flexible on install path
  • Dynamically gets release list instead of caching
  • Build and install actions are not separated

How is it like RVM?

  • Sane defaults
  • Uses Unix PATH to manage binary to use

How is it not like RVM?

  • No function over-loading
  • Does not manage/install extra software and prereqs

Platforms/Shells tested

Operating Systems:

  • Arch
  • CentOS
  • Debian
  • FreeBSD
  • OS X/Darwin
  • Ubuntu

Shells:

  • bash
  • csh
  • tcsh
  • zsh

Erlang installs:

  • erlang-solutions
  • erlang.org
  • kerl
  • Debian apt, FreeBSD pkg, OS X brew

Alternatives and References

Alternatives:

Related tools:

Limitations

  • Does not build erlang
  • Does not build Dynamo or any other elixir app
  • Same build directory used for every build (saving space vs keeping build env around)
  • No uninstall option for installed elixir versions
  • No per-directory/project config file.
    • You can hack it in by adding kiex use to .rvmrc or friends ;P

Some erlang builds (including default kerl) are unusuable on current CentOS and Fedora distros as a result of an OpenSSL update. -- 2014/03/31

Various bugs reported:

A update to OTP crypto https://github.com/RoadRunnr/otp/commit/8837c1be2ba8a3c123df3f5a87003daa9aac6539

TODO

  • Merge install script into kiex script as an install function
  • Cleanup build output (extra git info etc)
  • Maybe print source line with use command
  • Add active command (or similar) to show current elixir
    • Already in list command - this would be the single version
    • Maybe show source line?
  • Add sourceline or similar command to show source line to use?
  • Maybe add dynamo install and setup for MIX_PATH
    • how to tie to elixir used? gemset like?
    • use dynamo tags?
  • Look at elixir-build for ideas, collaboration

License

See LICENSE file

kiex's People

Contributors

aboroska avatar banzaiman avatar darkofabijan avatar eliaw avatar enriquebrgn avatar fntz avatar galaxygorilla avatar gregerg avatar greymouser avatar jj1bdx avatar jsvisa avatar kwrooijen avatar kylebakerio avatar larrylv avatar padi avatar qhool avatar schnittchen avatar spylik avatar taylor avatar wendy0402 avatar whatyouhide avatar zeusintuivo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kiex's Issues

kiex list not working

I've just installed kiex as per readme on arch using bash 4.2.45.

kiex list dumps what looks like the raw json output from the github api call onto the console (see below); kiex install claims that all version 0.12.4 down to 0.11.0 are unknown.

sr@sleepy:~ $ kiex list known
Getting the available releases from https://github.com/elixir-lang/elixir/releases

Known Elixir releases: 
[{url:https://api.github.com/repos/elixir-lang/elixir/releases/182706assets_url:https://api.github.com/repos/elixir-lang/elixir/releases/182706/assetsupload_url:https://uploads.github.com/repos/elixir-lang/elixir/releases/182706/assets{?name}html_url:https://github.com/elixir-lang/elixir/releases/tag/0.12.4id:1827060.12.4target_commitish:mastername:0.12.4body:### Enhancements
  * [Mix] `mix deps.get` and `mix deps.update` no longer compile dependencies afterwards. Instead they mark the dependencies which are going to be automatically compiled next time `deps.check` is inoked (which is done automatically by most mix tasks). This means users should hae a better workflow when migrating in between enironments

### Deprecations
  * [Kernel] `//` for default arguments is deprecated in faor of `\\`
  * [Kernel] Using `%` for sigils is deprecated in faor of `~`. This is a soft deprecation no warnings will be emitted for it in this release
  * [Kernel] Using `^` inside function clause heads is deprecated please use a guard instead

### Backwards incompatible changes
  * [ExUnit] `CaptureIO` returns an empty string instead of nil when there is no capture
  * [Version] The `Version` module now only works with SemVer. The functions `Version.parse/1` and `Version.parse_requirement/1` now return `{:okres} | :error` for the cases you want to handle non SemVer cases manually. All other functions will trigger errors on non semantics ersionsdraft:falseauthor:{login:josealimid:9582aatar_url:https://aatars.githubusercontent.com/u/9582graatar_id:e837f6b7fd146ab16ed3d663476c063eurl:https://api.github.com/users/josealimhtml_url:https://github.com/josealimfollowers_url:https://api.github.com/users/josealim/followersfollowing_url:https://api.github.com/users/josealim/following{/other_user}gists_url:https://api.github.com/users/josealim/gists{/gist_id}starred_url:https://api.github.com/users/josealim/starred{/owner}{/repo}subscriptions_url:https://api.github.com/users/josealim/subscriptionsorganizations_url:https://api.github.com/users/josealim/orgsrepos_url:https://api.github.com/users/josealim/reposeents_url:https://api.github.com/users/josealim/eents{/priacy}receied_eents_url:https://api.github.com/users/josealim/receied_eentstype:Usersite_admin:false}prerelease:falsecreated_at:2014-02-12T08:22:25Zpublished_at:2014-02-12T08:28:12Zassets:[{url:https://api.github.com/repos/elixir-lang/elixir/releases/assets/74991id:74991name:Precompiled.ziplabel:uploader:{login:josealimid:9582aatar_url:https://aatars.githubusercontent.com/u/9582graatar_id:e837f6b7fd146ab16ed3d663476c063eurl:https://api.github.com/users/josealimhtml_url:https://github.com/josealimfollowers_url:https://api.github.com/users/josealim/followersfollowing_url:https://api.github.com/users/josealim/following{/other_user}gists_url:https://api.github.com/users/josealim/gists{/gist_id}starred_url:https://api.github.com/users/josealim/starred{/owner}{/repo}subscriptions_url:https://api.github.com/users/josealim/subscriptionsorganizations_url:https://api.github.com/users/josealim/orgsrepos_url:https://api.github.com/users/josealim/reposeents_url:https://api.github.com/users/josealim/eents{/priacy}receied_eents_url:https://api.github.com/users/josealim/receied_eentstype:Usersite_admin:false}content_type:application/zipstate:uploadedsize:2591528download_count:404created_at:2014-02-12T13:44:28Zupdated_at:2014-02-13T18:28:00Z}]tarball_url:https://api.github.com/repos/elixir-lang/elixir/tarball/0.12.4zipball_url:https://api.github.com/repos/elixir-lang/elixir/zipball/0.12.4}{url:https://api.github.com/repos/elixir-lang/elixir/releases/170228assets_url:https://api.github.com/repos/elixir-lang/elixir/releases/170228/assetsupload_url:https://uploads.github.com/repos/elixir-lang/elixir/releases/170228/assets{?name}html_url:https://github.com/elixir-lang/elixir/releases/tag/0.12.3id:1702280.12.3target_commitish:mastername:0.12.3body:### Enhancements

UX: default elixir version

Thanks for the great work with kiex! The setup was simple and it was very easy to get running. There was only one thing I stumbled over a bit and that was setting the default elixir version to be used. After adding the line to your .bashrc to source the kiex script everything works fine. If you, however, open a new shell and haven't yet set a default elixir version you get:

$ iex -v
-bash: iex: command not found

The only thing helpful I could come up with which might make it more intuitive would be to add a comment to the message that is output when you're setting up if a default version isn't set yet. What do you think?

I'm happy to do a PR if you like.

List command is not working

kiex list command throw out an error

kiex elixirs

   elixir-1.3.3/Users/wiwattamongkhonchit/.kiex/bin/kiex: line 946: elixir-1.3.3: syntax error: invalid arithmetic operator (error token is ".3.3")

I'm not bash script expert, so I'm not sure what's going on here but looking from the error and the code it seems like

target_alias_list="${ealiases[$version]}"

array dereference is trying to evaluate $version expression which currently contain elixir-1.x.x and throw an error.

kiex and GitHub API rate limit

Hello.

Travis CI recently started using kiex to manage multiple Elixir versions.

Currently, kiex makes anonymous GitHub API calls to get the list of known releases. If this API call fails, it simply gives up. This is a problem with popular service like Travis CI, since the rate limit of 60 per hour will be easily exceeded. This manifests in issues like travis-ci/travis-ci#3269.

It is desirable to add a mechanism to pass the user OAuth token whenever user agent is used, so that we get a higher rate limit (5000/hour). Also, in the face of such an API call failure, kiex should fail somewhat gracefully, notifying the user that the API call failed, instead of "Unknown Elixir" (because kiex doesn't know which version is known and which is unknown).

I'm happy to work on a PR, if such a behavior is desirable.

Problem to install version 1.4.2

I receive the error below when I try to install version 1.4.2, any other version even 1.4.1 works fine

kiex install 1.4.2
Downloading elixir version 1.4.2
Installing elixir version 1.4.2
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
warning: refname 'v1.4.2' is ambiguous.
fatal: A branch named 'v1.4.2' already exists.
warning: refname 'v1.4.2' is ambiguous.
Switched to branch 'v1.4.2'
From https://github.com/elixir-lang/elixir

  • tag v1.4.2 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && "/home/ubuntu/.kiex/builds/elixir-git/rebar" clean
    ==> elixir (clean)
    rm -rf ebin
    rm -rf lib//ebin
    rm -rf lib/elixir/test/ebin
    rm -rf lib/
    /tmp
    rm -rf lib/mix/test/fixtures/git_repo
    rm -rf lib/mix/test/fixtures/deps_on_git_repo
    rm -rf lib/mix/test/fixtures/git_rebar
    rm -rf lib/elixir/src/elixir.app.src
    make clean_man
    make[1]: Entering directory /home/ubuntu/.kiex/builds/elixir-git' rm -f man/elixir.1 rm -f man/iex.1 make[1]: Leaving directory /home/ubuntu/.kiex/builds/elixir-git'
    ==> elixir (compile)
    Compiled src/elixir_parser.yrl
    Compiled src/elixir_lexical.erl
    Compiled src/elixir_fn.erl
    Compiled src/elixir_translator.erl
    Compiled src/elixir_def_defaults.erl
    Compiled src/elixir_aliases.erl
    Compiled src/elixir_config.erl
    Compiled src/elixir_map.erl
    Compiled src/elixir_bootstrap.erl
    Compiled src/elixir_with.erl
    Compiled src/elixir_utils.erl
    Compiled src/elixir_errors.erl
    Compiled src/elixir_exp.erl
    Compiled src/elixir_rewrite.erl
    Compiled src/elixir_module.erl
    Compiled src/elixir_quote.erl
    Compiled src/elixir_sup.erl
    Compiled src/elixir_env.erl
    Compiled src/elixir.erl
    Compiled src/elixir_def_overridable.erl
    Compiled src/elixir_dispatch.erl
    Compiled src/elixir_scope.erl
    Compiled src/elixir_for.erl
    Compiled src/elixir_locals.erl
    Compiled src/elixir_compiler.erl
    Compiled src/elixir_exp_clauses.erl
    Compiled src/elixir_import.erl
    Compiled src/elixir_try.erl
    Compiled src/elixir_interpolation.erl
    Compiled src/elixir_code_server.erl
    Compiled src/elixir_clauses.erl
    Compiled src/elixir_def.erl
    Compiled src/elixir_bitstring.erl
    Compiled src/elixir_tokenizer.erl
    Compiled src/elixir_parser.erl
    ==> bootstrap (compile)
    Compiled lib/elixir/lib/kernel.ex
    Compiled lib/elixir/lib/macro/env.ex
    Compiled lib/elixir/lib/keyword.ex
    Compiled lib/elixir/lib/module.ex
    Compiled lib/elixir/lib/list.ex
    warning: module attribute @TypeDoc was set but no type follows it
    /home/ubuntu/.kiex/builds/elixir-git/lib/elixir/lib/macro.ex:58

Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/kernel/typespec.ex
Compiled lib/elixir/lib/kernel/utils.ex
Compiled lib/elixir/lib/behaviour.ex
Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
warning: Elixir.Dict.update/4 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
/home/ubuntu/.kiex/builds/elixir-git/lib/elixir/lib/enum.ex:1049

Compiled lib/elixir/lib/enum.ex
Compiled lib/elixir/lib/inspect/algebra.ex
Compiled lib/elixir/lib/inspect.ex
Compiled lib/elixir/lib/range.ex
Compiled lib/elixir/lib/regex.ex
Compiled lib/elixir/lib/string.ex
Compiled lib/elixir/lib/string/chars.ex
Compiled lib/elixir/lib/io.ex
Compiled lib/elixir/lib/path.ex
Compiled lib/elixir/lib/file.ex
Compiled lib/elixir/lib/system.ex
Compiled lib/elixir/lib/kernel/cli.ex
Compiled lib/elixir/lib/kernel/error_handler.ex
Compiled lib/elixir/lib/kernel/parallel_compiler.ex
Compiled lib/elixir/lib/kernel/lexical_tracker.ex
==> elixir (compile)
warning: behaviour String.Chars is undefined
lib/calendar.ex:428

warning: behaviour Inspect is undefined
lib/calendar.ex:434

warning: Dict.update/4 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/enum.ex:1049

warning: use Dict is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/hash_dict.ex:10

warning: the Dict module is deprecated
lib/hash_dict.ex:10

warning: HashDict.reduce/3 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:223

warning: HashDict.fetch/2 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:224

warning: HashDict.size/1 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:226

warning: HashDict.put/3 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:232

warning: HashDict.to_list/1 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:243

warning: HashSet.reduce/3 is deprecated, use the MapSet module instead
lib/hash_set.ex:238

warning: HashSet.member?/2 is deprecated, use the MapSet module instead
lib/hash_set.ex:239

warning: HashSet.size/1 is deprecated, use the MapSet module instead
lib/hash_set.ex:240

warning: HashSet.put/2 is deprecated, use the MapSet module instead
lib/hash_set.ex:246

warning: HashSet.to_list/1 is deprecated, use the MapSet module instead
lib/hash_set.ex:257

warning: behaviour String.Chars is undefined
lib/calendar.ex:766

warning: behaviour String.Chars is undefined
lib/calendar.ex:1295

warning: behaviour String.Chars is undefined
lib/calendar.ex:1760

warning: variable "allow_nonexistent_atoms?" is unused
lib/option_parser.ex:408

warning: Dict.put/3 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/uri.ex:160

make[1]: Entering directory /home/ubuntu/.kiex/builds/elixir-git' ==> unicode (compile) Compiling unicode/unicode.ex (it's taking more than 5s) Killed make[1]: *** [lib/elixir/ebin/Elixir.String.Unicode.beam] Error 137 make[1]: Leaving directory /home/ubuntu/.kiex/builds/elixir-git'
make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 2
==> elixir (compile)
==> eex (compile)
==> mix (compile)

== Compilation error on file lib/mix/dep/lock.ex ==
** (UndefinedFunctionError) function String.Break.split/1 is undefined (module String.Break is not available)
String.Break.split("<<<<<<< ======= >>>>>>>")
(elixir) lib/kernel.ex:4399: Kernel.split_words/2
(elixir) expanding macro: Kernel.sigil_w/2
lib/mix/dep/lock.ex:68: Mix.Dep.Lock.assert_no_merge_conflicts_in_lockfile/2
(elixir) expanding macro: Kernel.if/2
lib/mix/dep/lock.ex:68: Mix.Dep.Lock.assert_no_merge_conflicts_in_lockfile/2

make: *** [lib/mix/ebin/Elixir.Mix.beam] Error 1
Problem with Elixir build. Aborting!

I get this error when I try to install elixir using kiex.

Already up-to-date.
cd lib/elixir && ../../rebar clean
==> elixir (clean)
rm -rf ebin
rm -rf lib/*/ebin
rm -rf lib/elixir/test/ebin
rm -rf lib/*/tmp
rm -rf lib/mix/test/fixtures/git_repo
rm -rf lib/mix/test/fixtures/deps_on_git_repo
rm -rf lib/mix/test/fixtures/git_rebar
rm -rf lib/elixir/src/elixir.app.src
==> elixir (compile)
unexpected error compiling src/elixir_parser.yrl
{'EXIT',{undef,[{yecc,file,
                      ["src/elixir_parser.yrl",
                       [{parserfile,"src/elixir_parser.erl"},
                        {report,true},
                        {verbose,false},
                        {return,true}]],
                      []},
                {rebar_erlc_compiler,compile_xrl_yrl,5,
                                     [{file,"src/rebar_erlc_compiler.erl"},
                                      {line,429}]},
                {rebar_base_compiler,compile,3,
                                     [{file,"src/rebar_base_compiler.erl"},
                                      {line,121}]},
                {rebar_base_compiler,compile_worker,3,
                                     [{file,"src/rebar_base_compiler.erl"},
                                      {line,194}]}]}}
ERROR: compile failed while processing /home/shivakumaarmgs/.kiex/builds/elixir-git/lib/elixir: rebar_abort
make: *** [erlang] Error 1
==> elixir (compile)
unexpected error compiling src/elixir_parser.yrl
{'EXIT',{undef,[{yecc,file,
                      ["src/elixir_parser.yrl",
                       [{parserfile,"src/elixir_parser.erl"},
                        {report,true},
                        {verbose,false},
                        {return,true}]],
                      []},
                {rebar_erlc_compiler,compile_xrl_yrl,5,
                                     [{file,"src/rebar_erlc_compiler.erl"},
                                      {line,429}]},
                {rebar_base_compiler,compile,3,
                                     [{file,"src/rebar_base_compiler.erl"},
                                      {line,121}]},
                {rebar_base_compiler,compile_worker,3,
                                     [{file,"src/rebar_base_compiler.erl"},
                                      {line,194}]}]}}
ERROR: compile failed while processing /home/shivakumaarmgs/.kiex/builds/elixir-git/lib/elixir: rebar_abort
make: *** [erlang] Error 1
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

Installing Elixir Error - Uncaught error in rebar_core

kiex install 1.4.0 2.3.1
Downloading elixir version 1.4.0
Installing elixir version 1.4.0
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Switched to a new branch 'v1.4.0'
From https://github.com/elixir-lang/elixir

  • tag v1.4.0 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && "/home/milk/.kiex/builds/elixir-git/rebar" clean
    ==> elixir (clean)
    rm -rf ebin
    rm -rf lib//ebin
    rm -rf lib/elixir/test/ebin
    rm -rf lib/
    /tmp
    rm -rf lib/mix/test/fixtures/git_repo
    rm -rf lib/mix/test/fixtures/deps_on_git_repo
    rm -rf lib/mix/test/fixtures/git_rebar
    rm -rf lib/elixir/src/elixir.app.src
    make clean_man
    make[1]: Entering directory '/home/milk/.kiex/builds/elixir-git'
    rm -f man/elixir.1
    rm -f man/iex.1
    make[1]: Leaving directory '/home/milk/.kiex/builds/elixir-git'
    Uncaught error in rebar_core: {error,
    {erl_interface,include,
    "code:lib_dir(erl_interface)is unable to find the erl_interface library."}}
    Makefile:69: recipe for target 'erlang' failed
    make: *** [erlang] Error 1
    Uncaught error in rebar_core: {error,
    {erl_interface,include,
    "code:lib_dir(erl_interface)is unable to find the erl_interface library."}}
    Makefile:69: recipe for target 'erlang' failed
    make: *** [erlang] Error 1
    Problem with Elixir build. Aborting!

No elixir versions found

I just install kiex on a clean install of OS X El Capitan. But when I run kiex list known I get no results.

\curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s
test -s "$HOME/.kiex/scripts/kiex" && source "$HOME/.kiex/scripts/kiex"

kiex list known
Getting the available releases from https://github.com/elixir-lang/elixir/releases

Known Elixir releases: 

No versions of elixir found

No versions of elixir showing up. I had previously installed versions on my local.

// ♥ kiex list known
Getting the available releases from https://github.com/elixir-lang/elixir/releases

Known Elixir releases:

I saw this issue #52 and tried opening a new shell. I still could not list any versions.

I tried imploding and re-installing kiex with curl and I'm still not seeing an versions of elixir showing up.

I have the following loading up in my bash profile:

# Kiex - Elixir Version Manager
[[ -s "$HOME/.kiex/scripts/kiex" ]] && source "$HOME/.kiex/scripts/kiex"

kiex install issue

Here is my issue:
system : macOS High Sierra version 10.13.1
erlang: installed using https://github.com/kerl/kerl

kerl status
Available builds:
20.1,20.1
----------
Available installations:
20.1 /usr/local/Cellar/erlang/20.1
----------
The current active installation is:
/usr/local/Cellar/erlang/20.1

erl output

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)

But when I run kiex install 1.5.2 I got this error

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

Something I am missing here?

Thanks for any help.

Error when installing using erlang installed with kerl in CentosOS

This is the error I got when I ran "kiex install 0.12.4" (using bash shell)

HEAD is now at 543dfde... Release v0.12.4
cd lib/elixir && ../../rebar clean
Uncaught error in rebar_core: {'EXIT',
{undef,
[{crypto,start,[],[]},
{rebar,run_aux,2,
[{file,"src/rebar.erl"},{line,163}]},
{rebar,main,1,
[{file,"src/rebar.erl"},{line,58}]},
{escript,run,2,
[{file,"escript.erl"},{line,747}]},
{escript,start,1,
[{file,"escript.erl"},{line,277}]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
make: *** [clean] Error 1
Uncaught error in rebar_core: {'EXIT',
{undef,
[{crypto,start,[],[]},
{rebar,run_aux,2,
[{file,"src/rebar.erl"},{line,163}]},
{rebar,main,1,
[{file,"src/rebar.erl"},{line,58}]},
{escript,run,2,
[{file,"escript.erl"},{line,747}]},
{escript,start,1,
[{file,"escript.erl"},{line,277}]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
make: *** [erlang] Error 1

Conditions: CentosOS 6, erlang in $HOME/packages/erlang_r16b03, activated with command ". $HOME/packages/erlang_r16b03/activate"

I have erlang installed in $HOME/packages/erlang with the regular "configure; make; make install" commands and if I removed all the environment settings from the kerl activate command and just set my PATH to include $HOME/packages/erlang then "kiex install 0.12.4" works fine.

One difference between the kerl installed erlang directory and the "configure; make;make-install directory" is the bin directory contains symbolic links to the lib directory and what is in the kerl package lib directory is actually found in lib/erlang

What confuses me is that "kiex install 0.12.4" works fine on my Mac OSX machine with both the kerl activated versions of erlang.and the "configure; make; make install" version.

Thanks,
Tina

fish-shell compatibility

fish-shell uses, like me, are very forgotten when it comes to libraries that needs to be loaded into the shell. It would be nice to see some integration here.

Switching to master does not update the version list

λ kiex use master
Using master

λ kiex list

kiex elixirs

   elixir-0.13.0
 * elixir-0.13.1
   elixir-master

# => - current
# =* - current && default
#  * - default

The current version is master, I can verify that in iex. But in the list it shows elixir-0.13.1.

Does not appear to co-exist well with rvm

With the following in my login shell script:

export KIEX_DIR="$HOME/.kiex"
[[ -s "$KIEX_DIR/scripts/kiex" ]] && source "$KIEX_DIR/scripts/kiex"

#THIS MUST BE AT THE END OF THE FILE FOR RVM TO WORK!!!
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

I receive the following error when sourcing the script:

/Users/me/.rvm/scripts/env: line 3: /base: No such file or directory
/Users/me/.rvm/scripts/env: line 5: __rvm_env_print: command not found

Commenting out lines related to kiex solves the problem.

Any idea on the cause?

At least Erlang 18.0 is required to build Elixir

Hi I am getting following error
cd lib/elixir && "/Users/Paritosh/.kiex/builds/elixir-git/rebar" clean
==> elixir (clean)
rm -rf ebin
rm -rf lib//ebin
rm -rf lib/elixir/test/ebin
rm -rf lib/
/tmp
rm -rf lib/mix/test/fixtures/git_repo
rm -rf lib/mix/test/fixtures/deps_on_git_repo
rm -rf lib/mix/test/fixtures/git_rebar
rm -rf lib/elixir/src/elixir.app.src
/Applications/Xcode.app/Contents/Developer/usr/bin/make clean_man
rm -f man/elixir.1
rm -f man/iex.1
At least Erlang 18.0 is required to build Elixir
make: *** [lib/elixir/src/elixir.app.src] Error 1
At least Erlang 18.0 is required to build Elixir
make: *** [lib/elixir/src/elixir.app.src] Error 1
Problem with Elixir build. Aborting!
Please report via https://github.com/taylor/kiex/issues/new
Paritoshs-MacBook-Pro:~ Paritosh$ erlang
-bash: erlang: command not found

Weird Erlang requirement when doing "kiex install master"

If I try to install Elixir from the master branch, it looks like this:

$ kiex install master
That Elixir requires Erlang R16B or later but before R17  
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

Going by the look of install_elixir() in ~/.kiex/bin/kiex, the Elixir version check there only seems to consider numeric versions, not branch names. Thus it seems to think I need Erlang 16 for it, just as with earlier Elixir versions.

bad interpreter: No such file or directory

Installing any version yields following error:

Downloading elixir version 1.6
Installing elixir version 1.6
Already on 'master'
Your branch is up-to-date with 'origin/master'.
fatal: Cannot update paths and switch to branch 'v1.6' at the same time.
Did you intend to checkout 'v1.6' which can not be resolved as commit?
Branch v1.6 set up to track remote branch v1.6 from origin.
Switched to a new branch 'v1.6'
From https://github.com/elixir-lang/elixir
 * branch                v1.6       -> FETCH_HEAD
Already up-to-date.
cd lib/elixir && "/Users/haito/.kiex/builds/elixir-git/rebar" clean
==> elixir (clean)
rm -rf ebin
rm -rf lib/*/ebin
rm -rf lib/*/_build/
rm -rf lib/*/tmp/
rm -rf lib/elixir/test/ebin/
rm -rf lib/mix/test/fixtures/deps_on_git_repo/
rm -rf lib/mix/test/fixtures/git_rebar/
rm -rf lib/mix/test/fixtures/git_repo/
rm -rf lib/mix/test/fixtures/git_sparse_repo/
rm -f erl_crash.dump
rm -f man/elixir.1
rm -f man/elixir.1.bak
rm -f man/iex.1
rm -f man/iex.1.bak
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_aliases.erl
Compiled src/elixir.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_config.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir_env.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_def.erl
Compiled src/elixir_erl_compiler.erl
Compiled src/elixir_erl_clauses.erl
Compiled src/elixir_erl.erl
Compiled src/elixir_erl_for.erl
Compiled src/elixir_erl_try.erl
Compiled src/elixir_erl_var.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_erl_pass.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_import.erl
Compiled src/elixir_lexical.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_expand.erl
Compiled src/elixir_map.erl
Compiled src/elixir_overridable.erl
Compiled src/elixir_module.erl
Compiled src/elixir_rewrite.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
Compiled lib/elixir/lib/kernel.ex
Compiled lib/elixir/lib/macro/env.ex
Compiled lib/elixir/lib/keyword.ex
Compiled lib/elixir/lib/module.ex
Compiled lib/elixir/lib/list.ex
Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/code/identifier.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/kernel/typespec.ex
Compiled lib/elixir/lib/kernel/utils.ex
warning: erlang:get_stacktrace/0 used in the wrong part of 'try' expression. (Use it in the block between 'catch' and 'end'.)
  /Users/haito/.kiex/builds/elixir-git/lib/elixir/lib/exception.ex:1242

Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
Compiled lib/elixir/lib/enum.ex
Compiled lib/elixir/lib/inspect/algebra.ex
Compiled lib/elixir/lib/inspect.ex
Compiled lib/elixir/lib/regex.ex
Compiled lib/elixir/lib/string.ex
Compiled lib/elixir/lib/string/chars.ex
Compiled lib/elixir/lib/io.ex
Compiled lib/elixir/lib/path.ex
Compiled lib/elixir/lib/file.ex
Compiled lib/elixir/lib/system.ex
Compiled lib/elixir/lib/kernel/cli.ex
Compiled lib/elixir/lib/kernel/error_handler.ex
Compiled lib/elixir/lib/kernel/parallel_compiler.ex
Compiled lib/elixir/lib/kernel/lexical_tracker.ex
==> elixir (compile)
/bin/sh: ../../bin/elixirc: /bin/sh^M: bad interpreter: No such file or directory
make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 126
==> elixir (compile)
==> eex (compile)
/bin/sh: ../../bin/elixirc: /bin/sh^M: bad interpreter: No such file or directory
make: *** [lib/eex/ebin/Elixir.EEx.beam] Error 126
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

Errors when installing Elixir 0.12.0

There were some errors when I installed Elixir 0.12.0 with Elixir today. Here's the console output:

kiex install 0.12.0
readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
awk: can't open file /../releases/RELEASES
source line number 1
/Users/scott/.kiex/bin/kiex: line 36: ((: > 16 : syntax error: operand expected (error token is "> 16 ")
/Users/scott/.kiex/bin/kiex: line 38: ((: < 16 : syntax error: operand expected (error token is "< 16 ")
/Users/scott/.kiex/bin/kiex: line 40: ((: == 16 : syntax error: operand expected (error token is "== 16 ")
Cloning into 'elixir-git'...
Checking connectivity... done
Note: checking out 'v0.12.0'.

The install of Elixir seems to work fine.

sort: unrecognized option `--version-sort'

After installation this morning (my first install) the following error occurs with kiex list known and kiex install ...... Mac OSX El Cap, all updates installed. Checking sort --help confirms that options isn't available, I guess its a Gnu sort option.

Kips-iMac:traphos kip$ kiex list known
Getting the available releases from https://github.com/elixir-lang/elixir/releases

sort: unrecognized option `--version-sort'

Error during installation of elixir

Im trying to install elixir using kiex, but im getting this error:

➜  ~ kiex install 1.4.4
Downloading elixir version 1.4.4
Installing elixir version 1.4.4
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
warning: refname 'v1.4.4' is ambiguous.
fatal: A branch named 'v1.4.4' already exists.
warning: refname 'v1.4.4' is ambiguous.
Switched to branch 'v1.4.4'
From https://github.com/elixir-lang/elixir
 * tag                   v1.4.4     -> FETCH_HEAD
Already up-to-date.
cd lib/elixir && "/home/diego/.kiex/builds/elixir-git/rebar" clean
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,760}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
make: *** [Makefile:116: clean] Error 1
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,760}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
make: *** [Makefile:69: erlang] Error 1
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

kiex installation error issue

Im using Ubuntu 18.04.2 LTS and trying to install elixir by kiex.
And I`ve faced following messages.
Pleas help me to fix it.

HERO@ubuntu:/tmp/kiex$ kiex install 1.3.4
Downloading elixir version 1.3.4
Installing elixir version 1.3.4
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
warning: refname 'v1.3.4' is ambiguous.
fatal: A branch named 'v1.3.4' already exists.
warning: refname 'v1.3.4' is ambiguous.
Switched to branch 'v1.3.4'
From https://github.com/elixir-lang/elixir

  • tag v1.3.4 -> FETCH_HEAD
    Already up to date.
    cd lib/elixir && "/home/seiryu/.kiex/builds/elixir-git/rebar" clean
    Uncaught error in rebar_core: {'EXIT',
    {undef,
    [{crypto,start,[],[]},
    {rebar,run_aux,2,
    [{file,"src/rebar.erl"},{line,163}]},
    {rebar,main,1,
    [{file,"src/rebar.erl"},{line,58}]},
    {escript,run,2,
    [{file,"escript.erl"},{line,760}]},
    {escript,start,1,
    [{file,"escript.erl"},{line,277}]},
    {init,start_em,1,[]},
    {init,do_boot,3,[]}]}}
    Makefile:115: recipe for target 'clean' failed
    make: *** [clean] Error 1
    Uncaught error in rebar_core: {'EXIT',
    {undef,
    [{crypto,start,[],[]},
    {rebar,run_aux,2,
    [{file,"src/rebar.erl"},{line,163}]},
    {rebar,main,1,
    [{file,"src/rebar.erl"},{line,58}]},
    {escript,run,2,
    [{file,"escript.erl"},{line,760}]},
    {escript,start,1,
    [{file,"escript.erl"},{line,277}]},
    {init,start_em,1,[]},
    {init,do_boot,3,[]}]}}
    Makefile:68: recipe for target 'erlang' failed
    make: *** [erlang] Error 1
    Problem with Elixir build. Aborting!
    Please report via https://github.com/taylor/kiex/issues/new

$ kiex install 1.6

Downloading elixir version 1.6
Installing elixir version 1.6
Already on 'master'
Your branch is up-to-date with 'origin/master'.
fatal: Cannot update paths and switch to branch 'v1.6' at the same time.
Did you intend to checkout 'v1.6' which can not be resolved as commit?
Branch v1.6 set up to track remote branch v1.6 from origin.
Switched to a new branch 'v1.6'
From https://github.com/elixir-lang/elixir

  • branch v1.6 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && "/home/alan/.kiex/builds/elixir-git/rebar" clean
    ==> elixir (clean)
    rm -rf ebin
    rm -rf lib//ebin
    make[1]: Entering directory '/home/alan/.kiex/builds/elixir-git'
    rm -rf lib/
    /_build/
    rm -rf lib/*/tmp/
    rm -rf lib/elixir/test/ebin/
    rm -rf lib/mix/test/fixtures/deps_on_git_repo/
    rm -rf lib/mix/test/fixtures/git_rebar/
    rm -rf lib/mix/test/fixtures/git_repo/
    rm -rf lib/mix/test/fixtures/git_sparse_repo/
    rm -f erl_crash.dump
    make[2]: Entering directory '/home/alan/.kiex/builds/elixir-git'
    rm -f man/elixir.1
    rm -f man/elixir.1.bak
    rm -f man/iex.1
    rm -f man/iex.1.bak
    make[2]: Leaving directory '/home/alan/.kiex/builds/elixir-git'
    make[1]: Leaving directory '/home/alan/.kiex/builds/elixir-git'
    ==> elixir (compile)
    Compiled src/elixir_parser.yrl
    Compiled src/elixir_bootstrap.erl
    Compiled src/elixir_erl_clauses.erl
    Compiled src/elixir_rewrite.erl
    src/elixir.erl:21: syntax error before: ':='
    src/elixir.erl:14: type struct() undefined
    ERROR: compile failed while processing /home/alan/.kiex/builds/elixir-git/lib/elixir: rebar_abort
    Makefile:62: recipe for target 'erlang' failed
    make: *** [erlang] Error 1
    ==> elixir (compile)
    src/elixir.erl:21: syntax error before: ':='
    src/elixir.erl:14: type struct() undefined
    ERROR: compile failed while processing /home/alan/.kiex/builds/elixir-git/lib/elixir: rebar_abort
    Makefile:62: recipe for target 'erlang' failed
    make: *** [erlang] Error 1
    Problem with Elixir build. Aborting!

    Please report via https://github.com/taylor/kiex/issues/new

kiex can install master on local box but fails on travis.

When I use travis and set my elixir version as master I get the attached error. Is there a way to use elixir master branch on travis-ci ?

Using worker: worker-linux-docker-5624abbf.prod.travis-ci.org:travis-linux-2

travis_fold:start:system_info
�[0K�[33;1mBuild system information�[0m
Build language: elixir
�[34m�[1mBuild image provisioning date and time�[0m
Thu Feb  5 15:09:33 UTC 2015
�[34m�[1mOperating System Details�[0m
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise
�[34m�[1mLinux Version�[0m
3.13.0-29-generic
�[34m�[1mCookbooks Version�[0m
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
�[34m�[1mGCC version�[0m
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

�[34m�[1mLLVM version�[0m
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
�[34m�[1mPre-installed Ruby versions�[0m
ruby-1.9.3-p551
�[34m�[1mPre-installed Node.js versions�[0m
v0.10.36
�[34m�[1mPre-installed Go versions�[0m
1.4.1
�[34m�[1mRedis version�[0m
redis-server 2.8.19
�[34m�[1mriak version�[0m
2.0.2
�[34m�[1mMongoDB version�[0m
MongoDB 2.4.12
�[34m�[1mCouchDB version�[0m
couchdb 1.6.1
�[34m�[1mNeo4j version�[0m
1.9.4
�[34m�[1mRabbitMQ Version�[0m
3.4.3
�[34m�[1mElasticSearch version�[0m
1.4.0
�[34m�[1mInstalled Sphinx versions�[0m
2.0.10
2.1.9
2.2.6
�[34m�[1mDefault Sphinx version�[0m
2.2.6
�[34m�[1mInstalled Firefox version�[0m
firefox 31.0esr
�[34m�[1mPhantomJS version�[0m
1.9.8
�[34m�[1mant -version�[0m
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
�[34m�[1mmvn -version�[0m
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
travis_fold:end:system_info
�[0K
travis_fold:start:git.checkout
�[0Ktravis_time:start:00129a78
�[0K$ git clone --depth=50 --branch=master git://github.com/lowks/Radpath.git lowks/Radpath
Cloning into 'lowks/Radpath'...
remote: Counting objects: 325, done.�[K
remote: Compressing objects:   0% (1/176)   �[K
remote: Compressing objects:   1% (2/176)   �[K
remote: Compressing objects:   2% (4/176)   �[K
remote: Compressing objects:   3% (6/176)   �[K
remote: Compressing objects:   4% (8/176)   �[K
remote: Compressing objects:   5% (9/176)   �[K
remote: Compressing objects:   6% (11/176)   �[K
remote: Compressing objects:   7% (13/176)   �[K
remote: Compressing objects:   8% (15/176)   �[K
remote: Compressing objects:   9% (16/176)   �[K
remote: Compressing objects:  10% (18/176)   �[K
remote: Compressing objects:  11% (20/176)   �[K
remote: Compressing objects:  12% (22/176)   �[K
remote: Compressing objects:  13% (23/176)   �[K
remote: Compressing objects:  14% (25/176)   �[K
remote: Compressing objects:  15% (27/176)   �[K
remote: Compressing objects:  16% (29/176)   �[K
remote: Compressing objects:  17% (30/176)   �[K
remote: Compressing objects:  18% (32/176)   �[K
remote: Compressing objects:  19% (34/176)   �[K
remote: Compressing objects:  20% (36/176)   �[K
remote: Compressing objects:  21% (37/176)   �[K
remote: Compressing objects:  22% (39/176)   �[K
remote: Compressing objects:  23% (41/176)   �[K
remote: Compressing objects:  24% (43/176)   �[K
remote: Compressing objects:  25% (44/176)   �[K
remote: Compressing objects:  26% (46/176)   �[K
remote: Compressing objects:  27% (48/176)   �[K
remote: Compressing objects:  28% (50/176)   �[K
remote: Compressing objects:  29% (52/176)   �[K
remote: Compressing objects:  30% (53/176)   �[K
remote: Compressing objects:  31% (55/176)   �[K
remote: Compressing objects:  32% (57/176)   �[K
remote: Compressing objects:  33% (59/176)   �[K
remote: Compressing objects:  34% (60/176)   �[K
remote: Compressing objects:  35% (62/176)   �[K
remote: Compressing objects:  36% (64/176)   �[K
remote: Compressing objects:  37% (66/176)   �[K
remote: Compressing objects:  38% (67/176)   �[K
remote: Compressing objects:  39% (69/176)   �[K
remote: Compressing objects:  40% (71/176)   �[K
remote: Compressing objects:  41% (73/176)   �[K
remote: Compressing objects:  42% (74/176)   �[K
remote: Compressing objects:  43% (76/176)   �[K
remote: Compressing objects:  44% (78/176)   �[K
remote: Compressing objects:  45% (80/176)   �[K
remote: Compressing objects:  46% (81/176)   �[K
remote: Compressing objects:  47% (83/176)   �[K
remote: Compressing objects:  48% (85/176)   �[K
remote: Compressing objects:  49% (87/176)   �[K
remote: Compressing objects:  50% (88/176)   �[K
remote: Compressing objects:  51% (90/176)   �[K
remote: Compressing objects:  52% (92/176)   �[K
remote: Compressing objects:  53% (94/176)   �[K
remote: Compressing objects:  54% (96/176)   �[K
remote: Compressing objects:  55% (97/176)   �[K
remote: Compressing objects:  56% (99/176)   �[K
remote: Compressing objects:  57% (101/176)   �[K
remote: Compressing objects:  58% (103/176)   �[K
remote: Compressing objects:  59% (104/176)   �[K
remote: Compressing objects:  60% (106/176)   �[K
remote: Compressing objects:  61% (108/176)   �[K
remote: Compressing objects:  62% (110/176)   �[K
remote: Compressing objects:  63% (111/176)   �[K
remote: Compressing objects:  64% (113/176)   �[K
remote: Compressing objects:  65% (115/176)   �[K
remote: Compressing objects:  66% (117/176)   �[K
remote: Compressing objects:  67% (118/176)   �[K
remote: Compressing objects:  68% (120/176)   �[K
remote: Compressing objects:  69% (122/176)   �[K
remote: Compressing objects:  70% (124/176)   �[K
remote: Compressing objects:  71% (125/176)   �[K
remote: Compressing objects:  72% (127/176)   �[K
remote: Compressing objects:  73% (129/176)   �[K
remote: Compressing objects:  74% (131/176)   �[K
remote: Compressing objects:  75% (132/176)   �[K
remote: Compressing objects:  76% (134/176)   �[K
remote: Compressing objects:  77% (136/176)   �[K
remote: Compressing objects:  78% (138/176)   �[K
remote: Compressing objects:  79% (140/176)   �[K
remote: Compressing objects:  80% (141/176)   �[K
remote: Compressing objects:  81% (143/176)   �[K
remote: Compressing objects:  82% (145/176)   �[K
remote: Compressing objects:  83% (147/176)   �[K
remote: Compressing objects:  84% (148/176)   �[K
remote: Compressing objects:  85% (150/176)   �[K
remote: Compressing objects:  86% (152/176)   �[K
remote: Compressing objects:  87% (154/176)   �[K
remote: Compressing objects:  88% (155/176)   �[K
remote: Compressing objects:  89% (157/176)   �[K
remote: Compressing objects:  90% (159/176)   �[K
remote: Compressing objects:  91% (161/176)   �[K
remote: Compressing objects:  92% (162/176)   �[K
remote: Compressing objects:  93% (164/176)   �[K
remote: Compressing objects:  94% (166/176)   �[K
remote: Compressing objects:  95% (168/176)   �[K
remote: Compressing objects:  96% (169/176)   �[K
remote: Compressing objects:  97% (171/176)   �[K
remote: Compressing objects:  98% (173/176)   �[K
remote: Compressing objects:  99% (175/176)   �[K
remote: Compressing objects: 100% (176/176)   �[K
remote: Compressing objects: 100% (176/176), done.�[K
remote: Total 325 (delta 158), reused 296 (delta 141), pack-reused 0�[K
Receiving objects:   0% (1/325)   
Receiving objects:   1% (4/325)   
Receiving objects:   2% (7/325)   
Receiving objects:   3% (10/325)   
Receiving objects:   4% (13/325)   
Receiving objects:   5% (17/325)   
Receiving objects:   6% (20/325)   
Receiving objects:   7% (23/325)   
Receiving objects:   8% (26/325)   
Receiving objects:   9% (30/325)   
Receiving objects:  10% (33/325)   
Receiving objects:  11% (36/325)   
Receiving objects:  12% (39/325)   
Receiving objects:  13% (43/325)   
Receiving objects:  14% (46/325)   
Receiving objects:  15% (49/325)   
Receiving objects:  16% (52/325)   
Receiving objects:  17% (56/325)   
Receiving objects:  18% (59/325)   
Receiving objects:  19% (62/325)   
Receiving objects:  20% (65/325)   
Receiving objects:  21% (69/325)   
Receiving objects:  22% (72/325)   
Receiving objects:  23% (75/325)   
Receiving objects:  24% (78/325)   
Receiving objects:  25% (82/325)   
Receiving objects:  26% (85/325)   
Receiving objects:  27% (88/325)   
Receiving objects:  28% (91/325)   
Receiving objects:  29% (95/325)   
Receiving objects:  30% (98/325)   
Receiving objects:  31% (101/325)   
Receiving objects:  32% (104/325)   
Receiving objects:  33% (108/325)   
Receiving objects:  34% (111/325)   
Receiving objects:  35% (114/325)   
Receiving objects:  36% (117/325)   
Receiving objects:  37% (121/325)   
Receiving objects:  38% (124/325)   
Receiving objects:  39% (127/325)   
Receiving objects:  40% (130/325)   
Receiving objects:  41% (134/325)   
Receiving objects:  42% (137/325)   
Receiving objects:  43% (140/325)   
Receiving objects:  44% (143/325)   
Receiving objects:  45% (147/325)   
Receiving objects:  46% (150/325)   
Receiving objects:  47% (153/325)   
Receiving objects:  48% (156/325)   
Receiving objects:  49% (160/325)   
Receiving objects:  50% (163/325)   
Receiving objects:  51% (166/325)   
Receiving objects:  52% (169/325)   
Receiving objects:  53% (173/325)   
Receiving objects:  54% (176/325)   
Receiving objects:  55% (179/325)   
Receiving objects:  56% (182/325)   
Receiving objects:  57% (186/325)   
Receiving objects:  58% (189/325)   
Receiving objects:  59% (192/325)   
Receiving objects:  60% (195/325)   
Receiving objects:  61% (199/325)   
Receiving objects:  62% (202/325)   
Receiving objects:  63% (205/325)   
Receiving objects:  64% (208/325)   
Receiving objects:  65% (212/325)   
Receiving objects:  66% (215/325)   
Receiving objects:  67% (218/325)   
Receiving objects:  68% (221/325)   
Receiving objects:  69% (225/325)   
Receiving objects:  70% (228/325)   
Receiving objects:  71% (231/325)   
Receiving objects:  72% (234/325)   
Receiving objects:  73% (238/325)   
Receiving objects:  74% (241/325)   
Receiving objects:  75% (244/325)   
Receiving objects:  76% (247/325)   
Receiving objects:  77% (251/325)   
Receiving objects:  78% (254/325)   
Receiving objects:  79% (257/325)   
Receiving objects:  80% (260/325)   
Receiving objects:  81% (264/325)   
Receiving objects:  82% (267/325)   
Receiving objects:  83% (270/325)   
Receiving objects:  84% (273/325)   
Receiving objects:  85% (277/325)   
Receiving objects:  86% (280/325)   
Receiving objects:  87% (283/325)   
Receiving objects:  88% (286/325)   
Receiving objects:  89% (290/325)   
Receiving objects:  90% (293/325)   
Receiving objects:  91% (296/325)   
Receiving objects:  92% (299/325)   
Receiving objects:  93% (303/325)   
Receiving objects:  94% (306/325)   
Receiving objects:  95% (309/325)   
Receiving objects:  96% (312/325)   
Receiving objects:  97% (316/325)   
Receiving objects:  98% (319/325)   
Receiving objects:  99% (322/325)   
Receiving objects: 100% (325/325)   
Receiving objects: 100% (325/325), 46.62 KiB | 0 bytes/s, done.
Resolving deltas:   0% (0/158)   
Resolving deltas:   1% (2/158)   
Resolving deltas:   2% (4/158)   
Resolving deltas:   6% (10/158)   
Resolving deltas:  14% (23/158)   
Resolving deltas:  15% (24/158)   
Resolving deltas:  17% (28/158)   
Resolving deltas:  18% (30/158)   
Resolving deltas:  21% (34/158)   
Resolving deltas:  23% (37/158)   
Resolving deltas:  24% (38/158)   
Resolving deltas:  51% (81/158)   
Resolving deltas:  95% (151/158)   
Resolving deltas:  96% (152/158)   
Resolving deltas:  98% (156/158)   
Resolving deltas:  99% (157/158)   
Resolving deltas: 100% (158/158)   
Resolving deltas: 100% (158/158), done.
Checking connectivity... done.
travis_time:end:00129a78:start=1437958244101184568,finish=1437958244337393235,duration=236208667
�[0K$ cd lowks/Radpath
$ git checkout -qf 6786178e85049ad4a2cc72ab6b3fe86b10d8a799
travis_fold:end:git.checkout
�[0K
�[33;1mThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.�[0m
�[33;1mIf you require sudo, add 'sudo: required' to your .travis.yml�[0m
�[33;1mSee http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.�[0m
travis_fold:start:cache.1
�[0KSetting up build cache
$ export CASHER_DIR=$HOME/.casher
travis_time:start:0014cd57
�[0K$ Installing caching utilities
travis_time:end:0014cd57:start=1437958253280234717,finish=1437958253359993678,duration=79758961
�[0Ktravis_time:start:0d7f3658
�[0Kattempting to download cache archive
fetching master/cache--otp-17.3--elixir-master.tgz
fetching master/cache--otp-17.3--elixir-master.tbz
could not download cache
travis_time:end:0d7f3658:start=1437958253365048468,finish=1437958253822387227,duration=457338759
�[0Ktravis_time:start:3180eb62
�[0Kadding /home/travis/build/lowks/Radpath/deps to cache
adding /home/travis/vendor/elixir to cache
travis_time:end:3180eb62:start=1437958253826369178,finish=1437958254147063779,duration=320694601
�[0Ktravis_fold:end:cache.1
�[0Ktravis_time:start:0b9005e0
�[0K$ source $HOME/otp/17.3/activate
travis_time:end:0b9005e0:start=1437958254151017048,finish=1437958254160777899,duration=9760851
�[0Ktravis_fold:start:elixir
�[0KInstalling Elixir master
travis_time:start:0481cc26
�[0K$ wget http://s3.hex.pm/builds/elixir/vmaster.zip
--2015-07-27 00:50:54--  http://s3.hex.pm/builds/elixir/vmaster.zip
Resolving s3.hex.pm (s3.hex.pm)... 54.231.14.57
Connecting to s3.hex.pm (s3.hex.pm)|54.231.14.57|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-07-27 00:50:54 ERROR 403: Forbidden.

travis_time:end:0481cc26:start=1437958254255116804,finish=1437958254699906604,duration=444789800
�[0K
�[31;1mThe command "wget http://s3.hex.pm/builds/elixir/vmaster.zip" failed and exited with 8 during .�[0m

Your build has been stopped.

mix local.hex doesnt update

When there is a new version for hex, running mix local.hex doesn't update, just download the same version of hex again.

Kiex and Ansible

I've used Kiex on my local machine in the past and found it realy usefull so now I'm trying to install Kiex on a remote machine using the Ansible confirguration management tool which runs a non-interactive shell. Because of this the kiex command doesn't work when I run it from the Ansible script but does work when I login to my machine via SSH.
I detailed my situation here.
Any ideas what can I do?( I tried adding [[ -s "$HOME/.kiex/scripts/kiex" ]] && source "$HOME/.kiex/scripts/kiex" to ~/.profile and /etc/profile instead of ~/.bashrc without success). I use Ubuntu Xenial.

reports installed, but lots of error output first

$ kiex install 0.12.5
grep: /etc/lsb-release: No such file or directory
Unknown Linux distribution
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Note: checking out 'v0.12.5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at b07fbcf... Release v0.12.5
From https://github.com/elixir-lang/elixir

  • tag v0.12.5 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && ../../rebar clean
    Uncaught error in rebar_core: {'EXIT',
    {undef,
    [{crypto,start,[],[]},
    {rebar,run_aux,2,
    [{file,"src/rebar.erl"},{line,163}]},
    {rebar,main,1,
    [{file,"src/rebar.erl"},{line,58}]},
    {escript,run,2,
    [{file,"escript.erl"},{line,747}]},
    {escript,start,1,
    [{file,"escript.erl"},{line,277}]},
    {init,start_it,1,[]},
    {init,start_em,1,[]}]}}
    make: *** [clean] Error 1
    Uncaught error in rebar_core: {'EXIT',
    {undef,
    [{crypto,start,[],[]},
    {rebar,run_aux,2,
    [{file,"src/rebar.erl"},{line,163}]},
    {rebar,main,1,
    [{file,"src/rebar.erl"},{line,58}]},
    {escript,run,2,
    [{file,"escript.erl"},{line,747}]},
    {escript,start,1,
    [{file,"escript.erl"},{line,277}]},
    {init,start_it,1,[]},
    {init,start_em,1,[]}]}}
    make: *** [erlang] Error 1
    Installed Elixir version 0.12.5
    Load with:
    kiex use 0.12.5
    or load the elixir environment file with:
    source $HOME/.kiex/elixirs/elixir-0.12.5.env

Installed elixir 1.0.0 reports 1.1.0-dev

Doesn't make sense to me:

tallakt@lapuntu:~$ uname -a
Linux lapuntu 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:55:18 UTC 2014 i686 i686 i386 GNU/Linux

I'm on arch Linux

tallakt@lapuntu:~$ kerl install 17.3 ~/.kerl/17.3/
Installing Erlang/OTP 17.3 (17.3) in /home/tallakt/.kerl/17.3...
You can activate this installation running the following command:
. /home/tallakt/.kerl/17.3/activate
Later on, you can leave the installation typing:
kerl_deactivate
tallakt@lapuntu:~$ . /home/tallakt/.kerl/17.3/activate
tallakt@lapuntu:~$ erl --version
Erlang/OTP 17 [erts-6.2] [source] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.2  (abort with ^G)
1> 
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
^Ctallakt@lapuntu:~kiex install 1.0.0
Switched to branch 'master'
fatal: A branch named '1.0.0' already exists.
From https://github.com/elixir-lang/elixir
 * tag               v1.0.0     -> FETCH_HEAD
Already up-to-date.
cd lib/elixir && ../../rebar clean
==> elixir (clean)
rm -rf ebin
rm -rf lib/*/ebin
rm -rf lib/elixir/test/ebin
rm -rf lib/*/tmp

(lots more like this)

Generated iex.app
==> elixir (compile)
==> elixir (install)
Installed Elixir version 1.0.0
Load with:
           kiex use 1.0.0 
or load the elixir environment file with: 
   source $HOME/.kiex/elixirs/elixir-1.0.0.env
tallakt@lapuntu:~$ kiex use 1.0.0 --default
Using 1.0.0 --default
tallakt@lapuntu:~$ elixir --version
Elixir 1.1.0-dev
tallakt@lapuntu:~$ which elixir
/home/tallakt/.kiex/elixirs/elixir-1.0.0/bin/elixir
tallakt@lapuntu:~$ iex --version
Erlang/OTP 17 [erts-6.2] [source] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.1.0-dev

Failing install on Debian8(jessie)

I am trying install kiex to Debian8(jessie).
But it fails.

I have tried following like:

niku@debian:~$ lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
niku@debian:~$ bash --version
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
niku@debian:~$ curl --version
curl 7.38.0 (x86_64-pc-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1k zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP
niku@debian:~$ git --version
git version 2.1.4
niku@debian:~$ \curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s
bash: line 70: curl_with_args: command not found
chmod: cannot access '/home/niku/.kiex/bin/kiex': No such file or directory
Running initial environment setup
bash: line 75: /home/niku/.kiex/bin/kiex: No such file or directory

-bash: kiex: command not found

~$ \curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s
Updating the kiex installation in /Users/amarkskatz/.kiex
    Kiex sourcing line found in: /Users/amarkskatz/.bashrc
kiex installed in /Users/amarkskatz/.kiex is now updated ☺
~$ kiex list
-bash: kiex: command not found

Unable to load crypto library

I installed Erlang 18.1 on Ubuntu 14.04 64 bit system via kerl and then did kiex install 1.2.0-rc.0 and received the following:

=ERROR REPORT==== 16-Dec-2015::23:09:16 ===
Unable to load crypto library. Failed with error:
"bad_lib, Library version (2.9) not compatible (with 2.8)."
OpenSSL might not be installed on this system.
make: *** [clean] Error 1
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,757}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_it,1,[]},
                                 {init,start_em,1,[]}]}}

=ERROR REPORT==== 16-Dec-2015::23:09:16 ===
Unable to load crypto library. Failed with error:
"bad_lib, Library version (2.9) not compatible (with 2.8)."
OpenSSL might not be installed on this system.
make: *** [erlang] Error 1
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

I installed OpenSSL via sudo apt-get install openssl.

$ uname -a

Linux someuser-M51AC 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Command to allow linking to local version of Elixir

It'd be great if kiex supported linking to a local version of Elixir for testing out new features, etc.

What I ended up doing was kiex install master and then symlinking .kiex/elixirs/elixir-master to my local elixir directory. I don't know if there are any possible side-effects of doing this but it seemed to work really well for what I was doing.

It should perhaps be called elixir-local or similar to distinguish it from other versions?

This would make it easier to hack on elixir and test out the results quickly without changing the elixir commands one would normally use.

"Unknown elixir" frequently happens

Unknown Elixir '1.4.4' ☹ 
Try
	kiex list known -- known releases
	kiex list branches -- current branches

I have had the above error happen many times while getting various RabbitMQ builds up and running on Travis CI with kiex to manage Elixir.

I'll submit a PR that does some intelligent re-try when curl fails.

Problem with v 1.5.1 (erl bin not found)

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!

Failed to find erlang release file!

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 says

Failed to find the erlang release file!
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

But I have a working version of Erlang 17

$ erl                                                                                                                                                  ruby-2.2.0 
Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V6.3  (abort with ^G)
1> 
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
v
Erlang (BEAM) emulator version 6.3
Compiled on Thu Aug  6 16:00:20 2015

BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution

Information on the OS

$ lsb_release -a 
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 22 (Twenty Two)
Release:    22
Codename:   TwentyTwo

$ uname -a
Linux local-machine 4.1.6-200.fc22.x86_64

Is there a way to fix this?

Error installing elixir

I'm using ubuntu 14.04 and got this error when installing elixir.
I've tried version 1.2.4, 1.2.3, and 1.1.0
I also already installed the latest esl-erlang

Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
Already up-to-date.
cd lib/elixir && "/home/ryusuf/.kiex/builds/elixir-git/rebar" clean
==> elixir (clean)
rm -rf ebin
rm -rf lib//ebin
rm -rf lib/elixir/test/ebin
rm -rf lib/
/tmp
rm -rf lib/mix/test/fixtures/git_repo
rm -rf lib/mix/test/fixtures/deps_on_git_repo
rm -rf lib/mix/test/fixtures/git_rebar
rm -rf lib/elixir/src/elixir.app.src
make clean_man
make[1]: Entering directory /home/ryusuf/.kiex/builds/elixir-git' rm -f man/elixir.1 rm -f man/iex.1 make[1]: Leaving directory/home/ryusuf/.kiex/builds/elixir-git'
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_env.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_scope.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_def.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_config.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_rewrite.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_lexical.erl
Compiled src/elixir_aliases.erl
Compiled src/elixir_map.erl
Compiled src/elixir_for.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_module.erl
Compiled src/elixir_counter.erl
Compiled src/elixir_with.erl
Compiled src/elixir_import.erl
Compiled src/elixir_def_overridable.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_exp_clauses.erl
Compiled src/elixir_exp.erl
Compiled src/elixir_def_defaults.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_try.erl
Compiled src/elixir_translator.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
Compiled lib/elixir/lib/kernel.ex
Compiled lib/elixir/lib/macro/env.ex
Compiled lib/elixir/lib/keyword.ex
Compiled lib/elixir/lib/module.ex
Compiled lib/elixir/lib/list.ex
Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/kernel/typespec.ex
Compiled lib/elixir/lib/kernel/utils.ex
Compiled lib/elixir/lib/behaviour.ex
Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
Compiled lib/elixir/lib/enum.ex
Compiled lib/elixir/lib/inspect/algebra.ex
Compiled lib/elixir/lib/inspect.ex
Compiled lib/elixir/lib/range.ex
Compiled lib/elixir/lib/regex.ex
Compiled lib/elixir/lib/string.ex
Compiled lib/elixir/lib/string/chars.ex
Compiled lib/elixir/lib/io.ex
Compiled lib/elixir/lib/path.ex
Compiled lib/elixir/lib/file.ex
Compiled lib/elixir/lib/system.ex
Compiled lib/elixir/lib/kernel/cli.ex
Compiled lib/elixir/lib/kernel/error_handler.ex
Compiled lib/elixir/lib/kernel/parallel_compiler.ex
Compiled lib/elixir/lib/kernel/lexical_tracker.ex
==> elixir (compile)
==> elixir (compile)
==> eex (compile)
Problem with Elixir build. Aborting!
Please report via https://github.com/taylor/kiex/issues/new
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Switched to a new branch 'v1.2.4'
From https://github.com/elixir-lang/elixir

  • tag v1.2.4 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && "/home/ryusuf/.kiex/builds/elixir-git/rebar" clean
    ==> elixir (clean)
    rm -rf ebin
    rm -rf lib//ebin
    rm -rf lib/elixir/test/ebin
    rm -rf lib/
    /tmp
    rm -rf lib/mix/test/fixtures/git_repo
    rm -rf lib/mix/test/fixtures/deps_on_git_repo
    rm -rf lib/mix/test/fixtures/git_rebar
    rm -rf lib/elixir/src/elixir.app.src
    make clean_man
    make[1]: Entering directory /home/ryusuf/.kiex/builds/elixir-git' rm -f man/elixir.1 rm -f man/iex.1 make[1]: Leaving directory/home/ryusuf/.kiex/builds/elixir-git'
    ==> elixir (compile)
    Compiled src/elixir_parser.yrl
    Compiled src/elixir_env.erl
    Compiled src/elixir_utils.erl
    Compiled src/elixir_scope.erl
    Compiled src/elixir_code_server.erl
    Compiled src/elixir_compiler.erl
    Compiled src/elixir_def.erl
    Compiled src/elixir_fn.erl
    Compiled src/elixir_interpolation.erl
    Compiled src/elixir_config.erl
    Compiled src/elixir_sup.erl
    Compiled src/elixir_rewrite.erl
    Compiled src/elixir_dispatch.erl
    Compiled src/elixir_tokenizer.erl
    Compiled src/elixir_lexical.erl
    Compiled src/elixir_errors.erl
    Compiled src/elixir_aliases.erl
    Compiled src/elixir_quote.erl
    Compiled src/elixir_module.erl
    Compiled src/elixir_map.erl
    Compiled src/elixir_for.erl
    Compiled src/elixir_locals.erl
    Compiled src/elixir_counter.erl
    Compiled src/elixir_with.erl
    Compiled src/elixir_import.erl
    Compiled src/elixir_exp_clauses.erl
    Compiled src/elixir_def_overridable.erl
    Compiled src/elixir_bootstrap.erl
    Compiled src/elixir_exp.erl
    Compiled src/elixir_def_defaults.erl
    Compiled src/elixir_clauses.erl
    Compiled src/elixir.erl
    Compiled src/elixir_bitstring.erl
    Compiled src/elixir_try.erl
    Compiled src/elixir_translator.erl
    Compiled src/elixir_parser.erl
    ==> bootstrap (compile)
    Compiled lib/elixir/lib/kernel.ex
    Compiled lib/elixir/lib/macro/env.ex
    Compiled lib/elixir/lib/keyword.ex
    Compiled lib/elixir/lib/module.ex
    Compiled lib/elixir/lib/list.ex
    Compiled lib/elixir/lib/macro.ex
    Compiled lib/elixir/lib/code.ex
    Compiled lib/elixir/lib/module/locals_tracker.ex
    Compiled lib/elixir/lib/kernel/typespec.ex
    Compiled lib/elixir/lib/kernel/utils.ex
    Compiled lib/elixir/lib/behaviour.ex
    Compiled lib/elixir/lib/exception.ex
    Compiled lib/elixir/lib/protocol.ex
    Compiled lib/elixir/lib/stream/reducers.ex
    Compiled lib/elixir/lib/enum.ex
    Compiled lib/elixir/lib/inspect/algebra.ex
    Compiled lib/elixir/lib/inspect.ex
    Compiled lib/elixir/lib/range.ex
    Compiled lib/elixir/lib/regex.ex
    Compiled lib/elixir/lib/string.ex
    Compiled lib/elixir/lib/string/chars.ex
    Compiled lib/elixir/lib/io.ex
    Compiled lib/elixir/lib/path.ex
    Compiled lib/elixir/lib/file.ex
    Compiled lib/elixir/lib/system.ex
    Compiled lib/elixir/lib/kernel/cli.ex
    Compiled lib/elixir/lib/kernel/error_handler.ex
    Compiled lib/elixir/lib/kernel/parallel_compiler.ex
    Compiled lib/elixir/lib/kernel/lexical_tracker.ex
    ==> elixir (compile)
    /bin/sh: 1: ../../bin/elixirc: not found
    make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 127
    ==> elixir (compile)
    ==> eex (compile)
    /bin/sh: 1: ../../bin/elixirc: not found
    make: *** [lib/eex/ebin/Elixir.EEx.beam] Error 127
    Problem with Elixir build. Aborting!
    Please report via https://github.com/taylor/kiex/issues/new

Wrong reo

Sorry, I created the issue in the wrong repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.