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

Add ruby plugin #338

Open
cmatsuoka opened this issue Dec 22, 2022 · 4 comments
Open

Add ruby plugin #338

cmatsuoka opened this issue Dec 22, 2022 · 4 comments

Comments

@cmatsuoka
Copy link
Contributor

cmatsuoka commented Dec 22, 2022

Port ruby plugin from Snapcraft PR: canonical/snapcraft#3511

Plugin needs to be reworked to validate an existing ruby interpreter or to use an interpreter built in a different part.

@paddor
Copy link

paddor commented Dec 28, 2022

I've cloned craft-parts and created and registered the RubyPlugin. How do I test whether it works as a part in my app?

@paddor
Copy link

paddor commented Dec 29, 2022

Using env PYTHONPATH=dev/oss/craft-parts/ python3 -mcraft_parts I can make it load the local repo of craft parts. But how do I use it with the snapcraft command?

@postmodern
Copy link

Any update on this? I'm struggling to create a snapcraft with certain gems pre-installed. The documentation for using the ruby plugin references core18, although core20 might work as a fallback?

@paddor
Copy link

paddor commented Apr 7, 2024

Any update on this? I'm struggling to create a snapcraft with certain gems pre-installed. The documentation for using the ruby plugin references core18, although core20 might work as a fallback?

I have a working Ruby plugin for core20 I think. But it doesn't use craft-parts if I remember correctly. I can put it in a gist tomorrow.

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

3 participants