Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing dependency: erb #1212

Open
thelittlebug opened this issue Nov 13, 2024 · 4 comments
Open

missing dependency: erb #1212

thelittlebug opened this issue Nov 13, 2024 · 4 comments

Comments

@thelittlebug
Copy link

thelittlebug commented Nov 13, 2024

thank you for your wonderful project.
after playing around with it in a docker shell i'm convinced to try it in rl.

but on a fresh install, after installing ruby 3.3.5 via pacseek and kamal via gem install kamal im not able to run kamal

after manually installing erb via gem install erb its working.
i've looked in the gem spec file, and there is no erb package specified.

maybe makes sense because every rails developer already has erb (im pretty sure i know thats a webserver, so rails maybe use it) in his ruby env so no one noticed this little issue.

@3v0k4
Copy link

3v0k4 commented Nov 13, 2024

I think the idea is to support Ruby >=3.0 in Kamal.

erb is a standard gem since ruby 3.0, so there's no need to install it separately.

but on a fresh install, after installing ruby 3.3.5 via pacseek and kamal via gem install kamal im not able to run kamal

This should not be the case 🙂

@thelittlebug
Copy link
Author

thelittlebug commented Nov 14, 2024

thank you for your clarification. that seems strange.

now i know that erb is a template language ^^ (im neither a rails nor a ruby developer)
i will try to reproduce this issue with a clean install of arch linux.
with that i should be able to find out whats wrong. it could either be:

  1. the arch pkg ruby dependencies
  2. my individual setup. maybe theres something wrong with the system gem pkg path. who knows
  3. the current planet constellation issued a bit flip somewhere on my system :D

thx, i will try to find that out

@thelittlebug
Copy link
Author

ok, it seems the ruby pkg isn't requiring the ruby-erb pkg according to https://archlinux.org/packages/extra/x86_64/ruby/

@thelittlebug
Copy link
Author

for future non rails/ruby people using arch:

there is a default pkg for ruby :)
https://archlinux.org/packages/extra/x86_64/ruby-default-gems/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants