Skip to content

Add --source option to gem exec command - #9765

Open
the-spectator wants to merge 1 commit into
ruby:masterfrom
the-spectator:add-source-option-to-exec-command
Open

Add --source option to gem exec command#9765
the-spectator wants to merge 1 commit into
ruby:masterfrom
the-spectator:add-source-option-to-exec-command

Conversation

@the-spectator

@the-spectator the-spectator commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

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

Allows specifying a custom/private gem source when running gem exec, matching the existing --source option on gem install.

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

Added include Gem::LocalRemoteOptions and add_source_option to Gem::Commands::ExecCommand, the same mixin method gem install already uses for its -s/--source URL flag.

Make sure the following tasks are checked

@the-spectator
the-spectator force-pushed the add-source-option-to-exec-command branch 3 times, most recently from 42bd801 to 39ff198 Compare August 6, 2026 05:55
Allows specifying a custom gem source when running `gem exec`, matching
the existing --source option on gem install.

Co-Authored-By: akshay-birajdar-zendesk <akshay.birajdar@zendesk.com>
@the-spectator
the-spectator force-pushed the add-source-option-to-exec-command branch from 39ff198 to 01b284c Compare August 17, 2026 06:48
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