You are not logged in.
Pages: 1
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
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)
Offline
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
And if you install ruby?
Last edited by jasonwryan (2021-11-17 06:18:06)
Offline
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
I have created an AUR package temporarily until `ruby-erb` ends up in [community]. See: https://aur.archlinux.org/packages/ruby-erb
Offline
Pages: 1