Question
Is it possible to execute rake task from warbled rails project?
I have a warbled rails project deployed to JBoss. I need to run a mailer in background. What is best way to do it?
Solution
At this point, it's probably easiest to unpack the war and have a script inside that sets the classpath and uses the included jruby jars.
There is a feature request with some ideas and a code fork. I hope we can have this built in eventually.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow