From 864d99191c682838a6e425814253861319bfcd29 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Sun, 28 Sep 2025 15:51:11 -1000 Subject: [PATCH] Replace spec/dummy/bin/dev symlink with wrapper script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change spec/dummy/bin/dev from a symlink to a wrapper script that calls the template bin/dev with --route=/ argument. This ensures the dummy app always uses the root route instead of the default hello_world route. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- spec/dummy/bin/dev | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 120000 => 100755 spec/dummy/bin/dev diff --git a/spec/dummy/bin/dev b/spec/dummy/bin/dev deleted file mode 120000 index a253a84c4..000000000 --- a/spec/dummy/bin/dev +++ /dev/null @@ -1 +0,0 @@ -../../../lib/generators/react_on_rails/templates/base/base/bin/dev \ No newline at end of file diff --git a/spec/dummy/bin/dev b/spec/dummy/bin/dev new file mode 100755 index 000000000..de10fbc30 --- /dev/null +++ b/spec/dummy/bin/dev @@ -0,0 +1,5 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# This script calls the base dev script with a fixed route for the dummy app +exec File.join(__dir__, "../../../lib/generators/react_on_rails/templates/base/base/bin/dev"), "--route=/", *ARGV