Created
June 29, 2011 20:57
-
-
Save jonkarna/1054942 to your computer and use it in GitHub Desktop.
Executing rake tasks against a deployed project on tomcat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd `dirname $0`/.. && java -cp lib/jruby-core-1.6.2.jar:lib/jruby-stdlib-1.6.2.jar:lib/gems.jar org.jruby.Main -S rake "$@" RAILS_ENV=cron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh `dirname $0`/tomcat-rake "$@" >> /path/to/my-log.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment