w-sanches / asdf-rabbitmq Goto Github PK
View Code? Open in Web Editor NEWRabbitmq plugin for asdf version manager https://github.com/asdf-vm/asdf
License: MIT License
Rabbitmq plugin for asdf version manager https://github.com/asdf-vm/asdf
License: MIT License
Since the install script checks for the version naively, it tries to download a .gz file for versions from 3.10 onward, which results in this error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat '/tmp/tmp.p8u7IdoHVb/rabbitmq_server-3.10.6/*': No such file or directory
I'm unable to install rabbitmq without prefixing v
to the version number:
$ asdf install rabbitmq 3.11.2
ERROR: unsupported version format 3.11.2
$ asdf install rabbitmq v3.11.2 ~
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 14.5M 100 14.5M 0 0 585k 0 0:00:25 0:00:25 --:--:-- 552k
/usr/local/bin/gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 833 100 833 0 0 1076 0 --:--:-- --:--:-- --:--:-- 1076
gpg: keybox '/var/folders/1h/r6wwx71s7xsdddptzwzln7zm0000gn/T/tmp.TP1YXV5p/pubring.kbx' created
gpg: keyserver receive failed: General error
$ gpg --version ~
gpg (GnuPG) 2.3.1
libgcrypt 1.9.3
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://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.
Home: /Users/tux/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
AEAD: EAX, OCB
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
MacBook Pro with macOS 12.5.1 (21G83)
Just installed rabbitmq v3.9.13
using this plugin, but rabbitmqctl
won't start
=ERROR REPORT==== 1-Feb-2023::09:00:33.926018 ===
beam/beam_load.c(551): Error loading function elixir:start/2: op put_tuple u x:
please re-compile this module with an Erlang/OTP 25 compiler
=ERROR REPORT==== 1-Feb-2023::09:00:33.926029 ===
Loading of /Users/bruno/.asdf/installs/rabbitmq/v3.9.13/escript/rabbitmqctl/elixir.beam failed: badfile
=CRASH REPORT==== 1-Feb-2023::09:00:33.926130 ===
crasher:
initial call: application_master:init/4
pid: <0.81.0>
registered_name: []
exception exit: {bad_return,
{{elixir,start,[normal,[]]},
{'EXIT',
{undef,
[{elixir,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,293}]}]}}}}
in function application_master:init/4 (application_master.erl, line 142)
ancestors: [<0.80.0>]
message_queue_len: 1
messages: [{'EXIT',<0.82.0>,normal}]
links: [<0.80.0>,<0.44.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 28
reductions: 157
neighbours:
=INFO REPORT==== 1-Feb-2023::09:00:33.944836 ===
application: elixir
exited: {bad_return,
{{elixir,start,[normal,[]]},
{'EXIT',
{undef,
[{elixir,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,293}]}]}}}}
type: temporary
ERROR! Failed to start Elixir.
error: {error,
{elixir,
{bad_return,
{{elixir,start,[normal,[]]},
{'EXIT',
{undef,
[{elixir,start,[normal,[]],[]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,293}]}]}}}}}}
rabbitmq-server
works fine, though - it's just rabbitmqctl
that won't start
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.