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

Ability to Pass Flags to Ruby Build (Jemalloc Support) #507

Closed
ashwinv11 opened this issue Jun 10, 2023 · 2 comments
Closed

Ability to Pass Flags to Ruby Build (Jemalloc Support) #507

ashwinv11 opened this issue Jun 10, 2023 · 2 comments

Comments

@ashwinv11
Copy link

Hello!

I was wondering if there were any way to pass RUBY_CONFIGURE_OPTS similar to how ruby-build works:

RUBY_CONFIGURE_OPTS="--with-jemalloc=$(brew --prefix jemalloc)" asdf install ruby 3.2.2. From what I understand, this might be a limitation due to what release types are available in the ruby-builder repo?

Could we consider adding the ability to publish builds for Ubuntu with jemalloc?

Thank you!

@dentarg
Copy link

dentarg commented Jun 11, 2023

Could we consider adding the ability to publish builds for Ubuntu with jemalloc?

Seeing #505 (comment) this is probably unlikely

I think it is possible to workaround with LD_PRELOAD, see docker-library/ruby#182 for lots of comments on that and it looks like this Heroku buildpack also uses that technique.

@eregon eregon closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
@ashwinv11
Copy link
Author

Thanks for the context and for linking me to the other thread! Will try out the LD_PRELOAD workaround and report back 👍🏾

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

No branches or pull requests

3 participants