From 68c22862ea80dddba8e1195f9549fa2fc14f3b06 Mon Sep 17 00:00:00 2001 From: Andrew H Schwartz Date: Fri, 10 May 2024 14:41:51 -0400 Subject: [PATCH 1/2] Fix minor typos / grammar in README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c8f17c877..b8a35386f 100644 --- a/README.md +++ b/README.md @@ -244,16 +244,16 @@ It will help if you want to know what the program is doing. If you want to run a command written in Ruby like `rake`, `rails`, `bundle`, `rspec`, and so on, you can use `rdbg -c` option. -* Without `-c` option, `rdbg ` means that `` is Ruby script and invoke it like `ruby ` with the debugger. -* With `-c` option, `rdbg -c ` means that `` is a command in `PATH` and simply invokes it with the debugger. +* Without the `-c` option, `rdbg ` means that `` is a Ruby script and invokes it like `ruby ` with the debugger. +* With the `-c` option, `rdbg -c ` means that `` is a command in `PATH` and simply invokes it with the debugger. Examples: * `rdbg -c -- rails server` * `rdbg -c -- bundle exec ruby foo.rb` * `rdbg -c -- bundle exec rake test` -* `rdbg -c -- ruby target.rb` is same as `rdbg target.rb` +* `rdbg -c -- ruby target.rb` is the same as `rdbg target.rb` -NOTE: `--` is needed to separate the command line options for `rdbg` and invoking command. For example, `rdbg -c rake -T` is recognized like `rdbg -c -T -- rake`. It should be `rdbg -c -- rake -T`. +NOTE: `--` is needed to separate the command line options for `rdbg` and the invoking command. For example, `rdbg -c rake -T` is recognized like `rdbg -c -T -- rake`. It should be `rdbg -c -- rake -T`. NOTE: If you want to use bundler (`bundle` command), you need to write `gem debug` line in your `Gemfile`. From fcbb68008d3e24d1e83618afde8a70e77555e686 Mon Sep 17 00:00:00 2001 From: Andrew Schwartz Date: Fri, 10 May 2024 21:38:51 -0400 Subject: [PATCH 2/2] Modify misc/README.md.erb and regenerate README --- misc/README.md.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/README.md.erb b/misc/README.md.erb index e6751997b..678c9ddec 100644 --- a/misc/README.md.erb +++ b/misc/README.md.erb @@ -244,16 +244,16 @@ It will help if you want to know what the program is doing. If you want to run a command written in Ruby like `rake`, `rails`, `bundle`, `rspec`, and so on, you can use `rdbg -c` option. -* Without `-c` option, `rdbg ` means that `` is Ruby script and invoke it like `ruby ` with the debugger. -* With `-c` option, `rdbg -c ` means that `` is a command in `PATH` and simply invokes it with the debugger. +* Without the `-c` option, `rdbg ` means that `` is a Ruby script and invokes it like `ruby ` with the debugger. +* With the `-c` option, `rdbg -c ` means that `` is a command in `PATH` and simply invokes it with the debugger. Examples: * `rdbg -c -- rails server` * `rdbg -c -- bundle exec ruby foo.rb` * `rdbg -c -- bundle exec rake test` -* `rdbg -c -- ruby target.rb` is same as `rdbg target.rb` +* `rdbg -c -- ruby target.rb` is the same as `rdbg target.rb` -NOTE: `--` is needed to separate the command line options for `rdbg` and invoking command. For example, `rdbg -c rake -T` is recognized like `rdbg -c -T -- rake`. It should be `rdbg -c -- rake -T`. +NOTE: `--` is needed to separate the command line options for `rdbg` and the invoking command. For example, `rdbg -c rake -T` is recognized like `rdbg -c -T -- rake`. It should be `rdbg -c -- rake -T`. NOTE: If you want to use bundler (`bundle` command), you need to write `gem debug` line in your `Gemfile`.