Skip to content

Instantly share code, notes, and snippets.

[{rebar_state,get,2,
[{file,
"/Users/heinz/Projects/Other/rebar3/_build/default/lib/rebar/src/rebar_state.erl"},
{line,144}]},
{rebar_dir,
processing_base_dir,2,
[{file,
"/Users/heinz/Projects/Other/rebar3/_build/default/lib/rebar/src/rebar_dir.erl"},
{line,121}]},
{pc_compilation,
format(Warning) ->
Str = try
format_warning(Warning, fullpath)
catch
_:_ ->
dialyzer:format_warning(Warning, fullpath)
end,
case strip(Str) of
":0: " ++ Unknown ->
Unknown;
@Licenser
Licenser / gist:215838a146284f02fbf0
Created August 11, 2015 19:31
clojure tools reader errro
MacBook-Pro:cerberus heinz [test] $ lein ancient upgrade :interactive
[leiningen "2.5.2"] is available but we use "2.5.1"
Do you want to upgrade? [yes/no] yes
running test task ["test"] ...
lein test cerberus.example-test
Ran 1 tests containing 1 assertions.
0 failures, 0 errors.
clojure.lang.ExceptionInfo: failed compiling file:env/dev/cljs/cerberus/main.cljs
at clojure.core$ex_info.invoke (core.clj:4593)
cljs.compiler$compile_file$fn__3979.invoke (compiler.cljc:1344)
cljs.compiler$compile_file.invoke (compiler.cljc:1306)
cljs.compiler$compile_root.invoke (compiler.cljc:1381)
cljs.closure$compile_dir.invoke (closure.clj:438)
cljs.closure$eval13390$fn__13391.invoke (closure.clj:478)
cljs.closure$eval13342$fn__13343$G__13333__13350.invoke (closure.clj:383)
cljs.closure$eval13403$fn__13404.invoke (closure.clj:492)
cljs.closure$eval13342$fn__13343$G__13333__13350.invoke (closure.clj:383)
===> Uncaught error: {badmatch,
{application,erlydtl,
[{description,
"Django Template Language for Erlang"},
{vsn,git},
{modules,[]},
{applications,
[kernel,stdlib,compiler,syntax_tools,merl]},
{registered,[]}]}}
===> Stack trace to the error location: [{rebar_app_discover,
@Licenser
Licenser / erlang17.sh
Last active December 15, 2016 09:51
Erlang 17 on centos 7
# We need this for dependencies
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -Uvh epel-release-7-5.noarch.rpm
# And this for Erlang > R16
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
sudo yum update
sudo yum install -y erlang-17.5.3-1.el7.centos
diff --git a/rebar.lock b/rebar.lock
index b18dc8e..c5c9892 100644
--- a/rebar.lock
+++ b/rebar.lock
@@ -1,115 +1,115 @@
[{<<"mmath">>,
{git,"https://github.com/DalmatinerDB/mmath.git",
{ref,"fe3f3d6c6f52c7760830fb2806484a1cad3b49f2"}},
- 6},
+ 3},
===> error {badmatch,not_found} [{rebar_prv_install_deps,
update_app_info,2,
[{file,
"/Users/heinz/Projects/Other/rebar3/_build/default/lib/rebar/src/rebar_prv_install_deps.erl"},
{line,589}]},
{rebar_prv_install_deps,maybe_fetch,
5,
[{file,
"/Users/heinz/Projects/Other/rebar3/_build/default/lib/rebar/src/rebar_prv_install_deps.erl"},
{line,428}]},
39c39
< manager.partner = manager_1@127.0.0.1
---
> manager.partner = manager_1@192.168.1.52
99c99
< mnesia.dir = /var/db/leo_manager/mnesia/127.0.0.1
---
> mnesia.dir = /var/db/leo_manager/mnesia/192.168.1.51
180c180
< nodename = manager_0@127.0.0.1
{
"alias": "",
"backups": [
],
"config": {
"alias": "test1",
"autoboot": true,
"cpu_cap": 100,
"cpu_shares": 65,