stratus3d / asdf-rebar Goto Github PK
View Code? Open in Web Editor NEWRebar3/Rebar version management plugin for asdf
License: MIT License
Rebar3/Rebar version management plugin for asdf
License: MIT License
I'm not sure why installation fails when it's run by plugin-test
. Locally it works when run manually but fails when using asdf plugin-test
.
I can't seem to install rebar3
in my system. I'm always getting these (error) messages:
[gorre@uplink ~]$ asdf install rebar 3.5.2
** Resuming transfer from byte position 287136
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 909 0 --:--:-- --:--:-- --:--:-- 909
0 280k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Dependency providers already exists
Dependency getopt already exists
Dependency cf already exists
Dependency erlware_commons already exists
/private/var/folders/w1/cjm29vls6y7fcfdy1wss19rsh5k6h9/T/rebar3-3.5.2/_build/default/lib/erlware_commons/src/ec_dictionary.erl:none: no such file or directory
This is some relevant info:
[gorre@uplink ~]$ uname -a
Darwin uplink 16.7.0 Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64 x86_64
[gorre@uplink ~]$ which erl
/Users/gorre/.asdf/shims/erl
[gorre@uplink ~]$ erl
Erlang/OTP 20 [erts-9.3.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V9.3.1 (abort with ^G)
1> erlang:system_info(otp_release).
"20"
2> q().
ok
3>
[gorre@uplink ~]$ cat .tool-versions
nodejs 9.9.0
erlang 20.3.6
golang 1.10.2
gradle 4.7
java 8.172
maven 3.5.3
rust stable
> asdf install rebar 3.7.4
** Resuming transfer from byte position 317253
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 297 0 --:--:-- --:--:-- --:--:-- 297
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
Rebar3 version 3.17.0 is apparently not supported.
Hi :)
I tried the following:
$ asdf install rebar 3.5.2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 173 0 --:--:-- --:--:-- --:--:-- 173
100 280k 0 280k 0 0 123k 0 --:--:-- 0:00:02 --:--:-- 218k
No version set for erlang; please run `asdf <global | local> erlang <version>`
But:
$ cat .tool-versions
erlang 18.3
What did I do wrong? :)
Output:
** Resuming transfer from byte position 265673
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 616 0 --:--:-- --:--:-- --:--:-- 618
0 259k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Dependency providers already exists
Dependency getopt already exists
Dependency cf already exists
Dependency erlware_commons already exists
Dependency certifi already exists
===> Verifying dependencies...
===> Fetching bbmustache ({pkg,<<"bbmustache">>,<<"1.3.0">>})
escript: exception error: no match of right hand side value
{error,
{rebar_fetch,{fetch_fail,<<"bbmustache">>,<<"1.3.0">>}}}
Hi,
I have been using rebar, erlang and elixir via asdf for a little while now...
I seem to have issues when switching erlang versions:
=ERROR REPORT==== 13-Dec-2022::13:05:07.778850 ===
beam/beam_load.c(162): Error loading module rebar3_run:
This BEAM file was compiled for a later version of the run-time system than 24.
To fix this, please recompile this module with an 24 compiler.
(Use of opcode 178; this emulator supports only up to 176.)
=ERROR REPORT==== 13-Dec-2022::13:05:07.778856 ===
Loading of /home/alexv/.cache/rebar3/plugins/rebar3_run/ebin/rebar3_run.beam failed: badfile
From what I understand, plugins where compiled with otp v25, and I am now using v24.
I have a few questions:
Overall I d like to be able to switch rebar and erlang versions independently, or make the link with the OTP version somewhat more explicit...
Thank you for any information.
Any gotchas here?
➜ ~ asdf install rebar 3.6.1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 169 0 --:--:-- --:--:-- --:--:-- 169
100 282k 100 282k 0 0 128k 0 0:00:02 0:00:02 --:--:-- 269k
Error: Unable to fetch package providers 1.7.0: failed connect
Error: Unable to fetch package getopt 1.0.1: failed connect
Error: Unable to fetch package cf 0.2.2: failed connect
Error: Unable to fetch package erlware_commons 1.2.0: failed connect
/tmp/rebar_build_5JNqZk/rebar3-3.6.1/_build/default/lib/erlware_commons/src/ec_dictionary.erl:none: no such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.