rabbitmq-plugins没有看到erlang版本

时间:2019-06-28 11:26:09

标签: rabbitmq asdf

如何启用Rabbitmq插件? 我使用asdf来管理版本。但是rabbitmq-plugins没有看到erlang版本

sudo su
asdf current erlang && rabbitmq-plugins enable rabbitmq_management
21.2.4  (set by /home/mvalitov/.tool-versions)
No version set for erlang; please run `asdf <global | local> erlang <version>`

UPD:

 mvalitov@mvalitov-pc  ~  asdf global erlang 21.2.4  
 mvalitov@mvalitov-pc  ~  sudo rabbitmq-plugins enable rabbitmq_management
No version set for erlang; please run `asdf <global | local> erlang <version>`
 mvalitov@mvalitov-pc  ~  sudo asdf global erlang 21.2.4                  
 mvalitov@mvalitov-pc  ~  sudo rabbitmq-plugins enable rabbitmq_management
No version set for erlang; please run `asdf <global | local> erlang <version>`
 mvalitov@mvalitov-pc  ~  asdf current erlang
21.2.4  (set by /home/mvalitov/.tool-versions)
 mvalitov@mvalitov-pc  ~  sudo asdf current erlang
21.2.4  (set by /home/mvalitov/.tool-versions)
 mvalitov@mvalitov-pc  ~  erl
Erlang/OTP 21 [erts-10.2.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]

Eshell V10.2.3  (abort with ^G)
1> 
User switch command
 --> 
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
a
 mvalitov@mvalitov-pc  ~  sudo erl
Erlang/OTP 21 [erts-10.2.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]

Eshell V10.2.3  (abort with ^G)
1> 
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution

asdf v0.5.1

Linux my-pc 4.20.17-1-MANJARO#1 SMP PREEMPT周二3月19日18:07:36 UTC 2019 x86_64 GNU / Linux

1 个答案:

答案 0 :(得分:0)

0.5.1版以来,已发布了许多版本的bug修复程序。请升级到asdf 0.7.4并重新生成垫片:

asdf reshim