Closed shageman closed 2 years ago
Hi Stephan - can you clarify which tasks aren't working? e.g. are they core Rails tasks, or tasks you've defined yourself? And are you running these tasks for the engine (as part of developing it), for the minimal internal testing app, or within an app that's using the engine?
Also: the Rakefile - is this generated by Rails for the engine? I must admit, generally I'm creating my engines by hand (rather than via a generator), which is why Combustion hasn't needed to generate a Rakefile for the internal testing app. That said, it doesn't mean it shouldn't - certainly I can see it would be helpful!
Also: I wonder if just copying spec/dummy/Rakefile
to spec/internal/Rakefile
will help? Though it could be that Rails' rake tasks expect something closer to a fully fledged app than the minimal scaffolding Combustion provides.
This issue's been dormant for over a year 😅 so I'm closing it. That said, very happy to continue the discussion if it remains a problem.
I am trying to switch an engine from spec/dummy to combustion. I get stuck after going through the install process and deleting
spec/dummy
because my rake tasks stop working.It looks like whichever way I create my engine I get this kind of
Rakefile
, which seems to indicate that because of the definition ofAPP_RAKEFILE
I can't delete the dummy app.I can't find a fix in the docs or the source. Any ideas?