Skip to content

Instantly share code, notes, and snippets.

@waisbrot
Created June 25, 2015 20:46
Show Gist options
  • Select an option

  • Save waisbrot/0784a4f8cf15dac5dfec to your computer and use it in GitHub Desktop.

Select an option

Save waisbrot/0784a4f8cf15dac5dfec to your computer and use it in GitHub Desktop.
# DEBUG=1 rebar3 update
===> Error loading registry: {read_error,
{file_error,
"/root/.cache/rebar3/hex/com/amazonaws/s3/s3.hex.pm/tarballs/packages/registry",
enoent}}
===> throw {error,
{rebar_prv_install_deps,
{load_registry_fail,<<"rebar3_hex">>}}} [{rebar_prv_install_deps,
get_package,
2,
[{file,
"/root/src/rebar3/_build/default/lib/rebar/src/rebar_prv_install_deps.erl"},
{line,
657}]},
{rebar_prv_install_deps,
parse_dep,
5,
[{file,
"/root/src/rebar3/_build/default/lib/rebar/src/rebar_prv_install_deps.erl"},
{line,
506}]},
{lists,
foldl,3,
[{file,
"lists.erl"},
{line,
1261}]},
{rebar_prv_install_deps,
handle_deps,
5,
[{file,
"/root/src/rebar3/_build/default/lib/rebar/src/rebar_prv_install_deps.erl"},
{line,
136}]},
{rebar_plugins,
handle_plugin,
3,
[{file,
"/root/src/rebar3/_build/default/lib/rebar/src/rebar_plugins.erl"},
{line,
48}]},
{lists,
flatmap,2,
[{file,
"lists.erl"},
{line,
1248}]},
{rebar_plugins,
handle_plugins,
3,
[{file,
"/root/src/rebar3/_build/default/lib/rebar/src/rebar_plugins.erl"},
{line,
37}]},
{rebar3,
run_aux,2,
[{file,
"/root/src/rebar3/_build/default/lib/rebar/src/rebar3.erl"},
{line,
101}]}]
===> Plugin rebar3_hex not available. It will not be used.
===> Updating package index...
# DEBUG=1 rebar3 update
===> Fetching jsx ({pkg,<<"jsx">>,<<"2.6.1">>})
===> Successfully downloaded https://s3.amazonaws.com/s3.hex.pm/tarballs/jsx-2.6.1.tar
===> Writing {pkg,<<"jsx">>,<<"2.6.1">>} to cache at /root/.cache/rebar3/hex/com/amazonaws/s3/s3.hex.pm/tarballs/packages/jsx-2.6.1.tar
===> Moving checkout "/tmp/.tmp_dir493275562157" to "/opt/whoop/metrics_downsample_worker/_build/default/plugins/jsx"
===> sh info:
cwd: "/opt/whoop/metrics_downsample_worker"
cmd: mv /tmp/.tmp_dir493275562157 /opt/whoop/metrics_downsample_worker/_build/default/plugins/jsx
===> opts: [{use_stdout,false},abort_on_error]
===> Port Cmd: mv /tmp/.tmp_dir493275562157 /opt/whoop/metrics_downsample_worker/_build/default/plugins/jsx
Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment