Code Monkey home page Code Monkey logo

asdf-rabbitmq's Introduction

Build Status

asdf-rabbitmq

Rabbitmq plugin for asdf version manager.

Pre-requesites

Rabbitmq requires Erlang to be installed. You can use the asdf-erlang plugin to install Erlang versions.

Install

asdf plugin add rabbitmq https://github.com/w-sanches/asdf-rabbitmq.git

Support

This plugin currently supports both Linux and macOS. However, this is an early version and bug may be found. Please report them in the issue tracker.

.tool-versions file

You can specify the version to install with a line like so in your .tool-versions file:

rabbitmq <version>

Usage

Check asdf readme for instructions on how to install & manage versions of Rabbitmq.

asdf-rabbitmq's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

asdf-rabbitmq's Issues

install does not work for rabbitmq 3.10.x

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

`rabbitmqcrl` doesn't work

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

GPG verification fails

$ 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)

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.