How do I run a rails command from a shell script?
1 answer
Either write as a Rake task or use a Rails runner .
Inside your shell script, put the appropriate rake or runner command.
+6
source to share