Skip to content

Conversation

@ioquatix
Copy link
Member

@ioquatix ioquatix commented Apr 3, 2023

What was the end-user or developer problem that led to this PR?

I don't want to use any of the existing builders for compiling a native extension, because I want to use a build tool which is not in the list and I don't want to write a rakefile to wrap it either.

See the discussion here: #6403

What is your fix for the problem, implemented in this PR?

This enables spec.extensions = ["my_script.rb"]. That script will be executed with the appropriate environment variables.

Make sure the following tasks are checked

@ioquatix ioquatix force-pushed the 6403-extensions-with-ruby-script branch 4 times, most recently from f9b65bf to 5d4cabf Compare April 3, 2023 08:41
@ioquatix ioquatix force-pushed the 6403-extensions-with-ruby-script branch from 5d4cabf to 6b7ef18 Compare July 11, 2024 00:29
@ioquatix
Copy link
Member Author

The original issue was moved to a discussion: https://github.com/orgs/rubygems/discussions/6422

@ioquatix ioquatix force-pushed the 6403-extensions-with-ruby-script branch from 6ceb2ba to 5aaca36 Compare February 12, 2025 21:17
@ioquatix
Copy link
Member Author

Another example usage: https://github.com/ruby/rdoc/pull/1113/files

@ioquatix ioquatix force-pushed the 6403-extensions-with-ruby-script branch from 5aaca36 to c3a7347 Compare March 21, 2025 19:26
@ioquatix ioquatix force-pushed the 6403-extensions-with-ruby-script branch from c3a7347 to 62ff066 Compare July 27, 2025 23:04
@ioquatix
Copy link
Member Author

ioquatix commented Jul 28, 2025

@simi you closed the issue #6403, don't reply on the discussion #6422, what's the path forward here?

I've got a smaller to address a subset of this issue: #8879

But it still doesn't address the full scope of the problem.

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

Successfully merging this pull request may close these issues.

1 participant