summaryrefslogtreecommitdiff
path: root/examples/gem/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gem/README.md')
-rw-r--r--examples/gem/README.md11
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`.