summaryrefslogtreecommitdiff
path: root/examples/gem/Rakefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-01 20:24:45 +0200
committerPaul Buetow <paul@buetow.org>2026-03-01 20:24:45 +0200
commit92ba0576ebf8aaf770368eba4533d3c4ed4a5e37 (patch)
tree51179df29a4ebb77214bf902580da0e619446a72 /examples/gem/Rakefile
parente17fbbfb30da394d6abbb91da4a963ff8913ad47 (diff)
replace gem example with bundle exec ruby, distinct from rake example
Diffstat (limited to 'examples/gem/Rakefile')
-rw-r--r--examples/gem/Rakefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/gem/Rakefile b/examples/gem/Rakefile
deleted file mode 100644
index 81a66d4..0000000
--- a/examples/gem/Rakefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# Example: Using RCM as a gem inside a Bundler-managed project.
-#
-# Run with:
-# bundle install
-# bundle exec rake setup -- --dry # dry run, no changes made
-# bundle exec rake setup -- --debug # verbose output
-# bundle exec rake setup # apply configuration
-require 'rcm'
-
-desc 'Apply system configuration'
-task :setup do
- configure do
- # Only run on the host named 'earth'
- given { hostname is :earth }
-
- # Write a WireGuard config rendered from an inline ERB template.
- file '/tmp/example/wg0.conf' do
- from template
-
- <<~TEMPLATE
- [Interface]
- Address = <%= "10.0.0.1/24" %>
- ListenPort = 51820
- TEMPLATE
- end
- end
-end