summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/exec_command.rb
AgeCommit message (Collapse)Author
2025-04-08Merge RubyGems-3.6.7 and Bundler-2.6.7Hiroshi SHIBATA
2024-11-21[rubygems/rubygems] Set $0 to exe when running `gem exec` to fix name in CLI ↵Adam Daniels
output The $0 value is used in many CLI libraries to determine the name of the application, when displaying help and error messages. Without setting this value, it defaults to `gem` which can be confusing. Before: ``` $ gem exec kamal help Commands: gem accessory # Manage accessories (db/redis/search) gem app # Manage application gem audit # Show audit log from servers gem build # Build application image gem config # Show combined config (including secrets!) gem deploy # Deploy app to servers gem details # Show details about all containers gem docs [SECTION] # Show Kamal configuration documentation gem help [COMMAND] # Describe available commands or one specific command gem init # Create config stub in config/deploy.yml and secrets stub in .kamal gem lock # Manage the deploy lock gem proxy # Manage kamal-proxy gem prune # Prune old application images and containers gem redeploy # Deploy app to servers without bootstrapping servers, starting kamal-proxy, pruning, and registry login gem registry # Login and -out of the image registry gem remove # Remove kamal-proxy, app, accessories, and registry session from servers gem rollback [VERSION] # Rollback app to VERSION gem secrets # Helpers for extracting secrets gem server # Bootstrap servers with curl and Docker gem setup # Setup all accessories, push the env, and deploy app to servers gem upgrade # Upgrade from Kamal 1.x to 2.0 gem version # Show Kamal version ``` After: ``` $ gem exec kamal help Commands: kamal accessory # Manage accessories (db/redis/search) kamal app # Manage application kamal audit # Show audit log from servers kamal build # Build application image kamal config # Show combined config (including secrets!) kamal deploy # Deploy app to servers kamal details # Show details about all containers kamal docs [SECTION] # Show Kamal configuration documentation kamal help [COMMAND] # Describe available commands or one specific command kamal init # Create config stub in config/deploy.yml and secrets stub in .kamal kamal lock # Manage the deploy lock kamal proxy # Manage kamal-proxy kamal prune # Prune old application images and containers kamal redeploy # Deploy app to servers without bootstrapping servers, starting kamal-proxy, pruning, and registry login kamal registry # Login and -out of the image registry kamal remove # Remove kamal-proxy, app, accessories, and registry session from servers kamal rollback [VERSION] # Rollback app to VERSION kamal secrets # Helpers for extracting secrets kamal server # Bootstrap servers with curl and Docker kamal setup # Setup all accessories, push the env, and deploy app to servers kamal upgrade # Upgrade from Kamal 1.x to 2.0 kamal version # Show Kamal version ``` https://github.com/rubygems/rubygems/commit/4fd060b96d
2024-09-09[rubygems/rubygems] Avoid now unnecessary resetDavid Rodríguez
https://github.com/rubygems/rubygems/commit/511c7b211b
2024-09-09[rubygems/rubygems] Make `gem exec` use the standard GEM_HOMEDavid Rodríguez
https://github.com/rubygems/rubygems/commit/032b3c518a
2023-03-23util/rubocop -A --only Layout/EmptyLineAfterMagicCommentHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-17[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgumentHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d8efd919db
2023-02-28[rubygems/rubygems] Fix method redefinition warning in gem exec specsSamuel Giddins
https://github.com/rubygems/rubygems/commit/f177990d4c
2023-02-22[rubygems/rubygems] Always join with a stringSamuel Giddins
Gem.path_separator can also be a regexp... https://github.com/rubygems/rubygems/commit/7e6e56a5f3
2023-02-22[rubygems/rubygems] Only update env if var existsSamuel Giddins
Will save on an error if it would be nil from an exception happening during that line https://github.com/rubygems/rubygems/commit/d6797a04e9
2023-02-22[rubygems/rubygems] Fix resetting env in gem exec, and make sure it is set ↵Samuel Giddins
for gem exec gem https://github.com/rubygems/rubygems/commit/13a6dd4992
2023-02-22[rubygems/rubygems] Allow gem exec gemSamuel Giddins
https://github.com/rubygems/rubygems/commit/a767f7b9be
2023-02-22[rubygems/rubygems] Remove platform option for gem execSamuel Giddins
Also fix native extensions that load dependencies https://github.com/rubygems/rubygems/commit/a06f9870c7
2023-02-22[rubygems/rubygems] Ensure dependencies are updated by default when running ↵Samuel Giddins
gem exec https://github.com/rubygems/rubygems/commit/664f3e1e5f
2023-02-22[rubygems/rubygems] Add gem exec descriptionSamuel Giddins
https://github.com/rubygems/rubygems/commit/dac1609fd5
2023-02-22[rubygems/rubygems] Add specs for gem execSamuel Giddins
https://github.com/rubygems/rubygems/commit/3078e5834e
2023-02-22[rubygems/rubygems] Add gem exec commandSamuel Giddins
https://github.com/rubygems/rubygems/commit/ca69a317f3