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 · 6 comments
Open

Add ruby plugin #338

cmatsuoka opened this issue Dec 22, 2022 · 6 comments
Labels
Enhancement New feature or request

Comments

@cmatsuoka
Copy link
Collaborator

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.

@lengau lengau added the Enhancement New feature or request label May 17, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2925.

This message was autogenerated

@paddor
Copy link

paddor commented May 17, 2024

@postmodern Not sure if I've ever posted that gist. Here it is: https://gist.github.com/paddor/b03b3c500a00ed05cbb4a6c247bec900

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

No branches or pull requests

4 participants