summaryrefslogtreecommitdiff
path: root/examples/cli/config.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-01 20:18:40 +0200
committerPaul Buetow <paul@buetow.org>2026-03-01 20:18:40 +0200
commit990c817571844462906b4ac7a58e64640be660e2 (patch)
tree9ae17e7f5d793983f041071aec41fd02393a9af7 /examples/cli/config.rb
parent7a627917fa6211ccb8b515d6669f2b10cfea5f6c (diff)
fix bin/rcm to fall back to lib/dsl when gem is not installed
Diffstat (limited to 'examples/cli/config.rb')
-rwxr-xr-xexamples/cli/config.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/cli/config.rb b/examples/cli/config.rb
index 84fa8f1..2828d7c 100755
--- a/examples/cli/config.rb
+++ b/examples/cli/config.rb
@@ -7,9 +7,7 @@
# rcm config.rb --hosts earth,mars # limit to specific hosts
# rcm config.rb # apply configuration
#
-# Requires rcm to be installed as a gem, or adjust the path below:
-# require_relative '../../lib/dsl'
-require 'rcm'
+# rcm is already loaded by the bin/rcm CLI tool before this file is executed.
configure do
# Only apply the block below when running on host 'earth'.