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

Support for Ruby runtime #31

Open
andreibondarev opened this issue May 31, 2024 · 1 comment
Open

Support for Ruby runtime #31

andreibondarev opened this issue May 31, 2024 · 1 comment
Labels
feature New feature or request

Comments

@andreibondarev
Copy link

andreibondarev commented May 31, 2024

Is your feature request related to a problem? Please describe.
I'm building https://github.com/patterns-ai-core/langchainrb and I would like to be able to be able to integrate your tool if it's able to execute Ruby code in a sandbox environment. Do you have any plans to add the Ruby runtime?

Describe alternatives you've considered
Currently using https://github.com/ukutaht/safe_ruby but it's an extremely outdated library.

@ValentaTomas ValentaTomas transferred this issue from e2b-dev/E2B Jul 19, 2024
@ValentaTomas ValentaTomas added the feature New feature or request label Jul 22, 2024
@ValentaTomas
Copy link
Member

Sorry for the late response @andreibondarev.

I think adding https://github.com/SciRuby/iruby as a custom Jupyter runtime, similar to how we add Java, R, etc. here, https://github.com/e2b-dev/code-interpreter/blob/beta/template/Dockerfile#L26 should allow you to execute Ruby.

The instructions about how to create a custom template with a modified Dockerfile are here: https://e2b.dev/docs/guide/beta-migration#custom-template.

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

No branches or pull requests

2 participants