refinery/refinerycms · error · RuntimeError
Please rm -rf '#{dummy_app_path}'
Error message
Please rm -rf '#{dummy_app_path}'
What it means
Error " Please rm -rf '#{dummy_app_path}' " thrown in refinery/refinerycms.
Source
Thrown at testing/lib/refinery/tasks/testing.rake:18
namespace :refinery do
namespace :testing do
desc "Generates a dummy application for testing, if one doesn't exist."
task :dummy_app => [
:report_dummy_app_status,
:create_dummy_app
]
desc "Creates a dummy application for testing"
task :create_dummy_app => [
:setup_dummy_app,
:setup_extension,
:init_test_database
]
desc "raises if there is already a dummy application"
task :report_dummy_app_status do
raise "\nPlease rm -rf '#{dummy_app_path}'\n\n" if dummy_app_path.exist?
end
desc "Sets up just the dummy application for testing, no migrations or extensions"
task :setup_dummy_app do
require 'refinerycms/core'
Refinery::DummyGenerator.start %W[--quiet --database=#{ENV['DB'].presence || 'sqlite3'}]
Refinery::CmsGenerator.start %w[--quiet --fresh-installation]
Dir.chdir dummy_app_path
end
# This task is a hook to allow extensions to pass configuration
# Just define this inside your extension's Rakefile or a .rake file
# and pass arbitrary code. Example:
#
# namespace :refinery doView on GitHub (pinned to 34438aae76)
When it happens
Trigger: Thrown at testing/lib/refinery/tasks/testing.rake:18 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of refinery/refinerycms@34438aae76 (2026-08-23).
Data as JSON: /api/errors/2b594542778f63f6.
Report an issue: GitHub.