diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-01 20:24:45 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-01 20:24:45 +0200 |
| commit | 92ba0576ebf8aaf770368eba4533d3c4ed4a5e37 (patch) | |
| tree | 51179df29a4ebb77214bf902580da0e619446a72 /examples/gem/README.md | |
| parent | e17fbbfb30da394d6abbb91da4a963ff8913ad47 (diff) | |
replace gem example with bundle exec ruby, distinct from rake example
Diffstat (limited to 'examples/gem/README.md')
| -rw-r--r-- | examples/gem/README.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/gem/README.md b/examples/gem/README.md index c05b844..3b486df 100644 --- a/examples/gem/README.md +++ b/examples/gem/README.md @@ -1,6 +1,7 @@ # Example: As a Gem -Uses RCM as a Bundler-managed gem inside a Rake project. +Uses RCM as a Bundler-managed gem, without Rake. This is the simplest way to +use RCM from your own Ruby scripts while keeping gem dependencies explicit. ## Setup @@ -12,17 +13,17 @@ bundle install ```sh # Dry run — show what would change, make no changes -bundle exec rake setup -- --dry +bundle exec ruby config.rb --dry # Verbose output -bundle exec rake setup -- --debug +bundle exec ruby config.rb --debug # Apply configuration -bundle exec rake setup +bundle exec ruby config.rb ``` ## What it does - Creates `/tmp/example/wg0.conf` from an inline ERB template -The task only runs when the current hostname is `earth`. +Only runs when the current hostname is `earth`. |
