You are not logged in.

#1 2021-11-17 04:38:13

defty
Member
Registered: 2020-04-18
Posts: 7

Where is erb?

In Debian (and most other distros), ruby comes with a program called erb that reads and compiles eRuby templates.
This is not so on Arch. I couldn't find a ruby-erb package either. Interestingly, the ruby2.6 package does come with erb so this is a new development.

Does anyone know if this is on purpose? If so, I don't mind compiling my own Ruby but I'm just curious why.

Offline

#2 2021-11-17 05:07:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,744
Website

Re: Where is erb?

This? https://aur.archlinux.org/packages/ruby-erubi/

# edit:

┌─[Centurion ~]
└─╼ pacman -F /usr/bin/erb
usr/bin/erb is owned by extra/ruby 2.5.1-1
usr/bin/erb is owned by community/rubinius-ruby 3.105-1

Last edited by jasonwryan (2021-11-17 05:10:46)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

#3 2021-11-17 05:26:20

defty
Member
Registered: 2020-04-18
Posts: 7

Re: Where is erb?

No that's not the same thing. As for using pacman -F, this is what I get:

$ pacman -F erb
community/gitlab 14.2.3-1
    usr/share/webapps/gitlab/vendor/bundle/ruby/2.7.0/gems/rouge-3.26.0/lib/rouge/demos/erb
community/gitlab-gitaly 14.2.3-1
    usr/share/webapps/gitlab-gitaly/ruby/vendor/bundle/ruby/2.7.0/gems/rouge-3.26.0/lib/rouge/demos/erb
community/redmine 4.2.2-1
    usr/share/webapps/redmine/vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/erb
community/ruby-rouge 3.26.0-2
    usr/lib/ruby/gems/3.0.0/gems/rouge-3.26.0/lib/rouge/demos/erb
community/ruby2.6 2.6.8-1
    opt/ruby2.6/bin/erb

Offline

#4 2021-11-17 06:17:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,744
Website

Re: Where is erb?

And if you install ruby?

Last edited by jasonwryan (2021-11-17 06:18:06)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

#5 2021-11-24 14:41:26

markeganfuller
Member
From: UK
Registered: 2021-11-24
Posts: 1

Re: Where is erb?

Looks like it was removed in this commit here with the message:

    ruby 3.0.0-3: FS#70201: drop racc and erb bin scripts, it belongs to its own ruby-* packages

Which tracks back to this bug report

Based on that it looks like erb (along with racc) has been removed from the ruby package with the intent that it has a separate package in the future but it seems to have stalled in an unfortunately broken state.

Offline

Board footer

Powered by FluxBB