{"record":{"id":"2b594542778f63f6","repo":"refinery/refinerycms","slug":"please-rm-rf-dummy-app-path","errorCode":null,"errorMessage":"\nPlease rm -rf '#{dummy_app_path}'\n\n","messagePattern":"\nPlease rm -rf '#(.+?)'\n\n","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"testing/lib/refinery/tasks/testing.rake","lineNumber":18,"sourceCode":"namespace :refinery do\n  namespace :testing do\n    desc \"Generates a dummy application for testing, if one doesn't exist.\"\n    task :dummy_app => [\n      :report_dummy_app_status,\n      :create_dummy_app\n    ]\n\n    desc \"Creates a dummy application for testing\"\n    task :create_dummy_app => [\n      :setup_dummy_app,\n      :setup_extension,\n      :init_test_database\n    ]\n\n    desc \"raises if there is already a dummy application\"\n    task :report_dummy_app_status do\n      raise \"\\nPlease rm -rf '#{dummy_app_path}'\\n\\n\" if dummy_app_path.exist?\n    end\n\n    desc \"Sets up just the dummy application for testing, no migrations or extensions\"\n    task :setup_dummy_app do\n      require 'refinerycms/core'\n\n      Refinery::DummyGenerator.start %W[--quiet --database=#{ENV['DB'].presence || 'sqlite3'}]\n\n      Refinery::CmsGenerator.start %w[--quiet --fresh-installation]\n\n      Dir.chdir dummy_app_path\n    end\n\n    # This task is a hook to allow extensions to pass configuration\n    # Just define this inside your extension's Rakefile or a .rake file\n    # and pass arbitrary code. Example:\n    #\n    # namespace :refinery do","sourceCodeStart":1,"sourceCodeEnd":36,"githubUrl":"https://github.com/refinery/refinerycms/blob/34438aae76d087246039cd24755187844d796737/testing/lib/refinery/tasks/testing.rake#L1-L36","documentation":"Error \"\nPlease rm -rf '#{dummy_app_path}'\n\n\" thrown in refinery/refinerycms.","triggerScenarios":"Thrown at testing/lib/refinery/tasks/testing.rake:18 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"34438aae76d087246039cd24755187844d796737","analyzedAt":"2026-08-23T06:03:41.094Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}