Lemme start out by begging. I really need help with this one. Any suggestions at all. Now that that’s out of the way…
I’m trying to call script/generate from within Rails and having no luck. I’ve tried a couple of different ways.
system “script/generate site_contents X”
which returns false when it fails but I can't get any information other than the false return.
script/generate site_contents X [in backticks]
this just returns nil from within Rails even though from irb it returns the STDOUT from the command.
I’m thanking you in advance because you’re really gonna save me on this one. Thank you thank you thank you. Please thank you.