I have a rails application deployed to tomcat, the code has been compiled to java classes and packed to a war file. And I'm wondering, is there a way for me to run rake tasks as I always did ?
相关问题
- Why does heap space constantly increase when monit
- Rake custom arguments for all tasks?
- how to detect if --quiet option is specified with
- Rake aborted! Don't know how to build task
- Testing a rake task with passed parameters in rspe
相关文章
- Rails: rake db:test:prepare Vs rake test:prepare
- Rails 3 > Rendering views in rake task
- Rake Task: error handling
- Why does a Rake task in a loop execute only once?
- rails s: Could not find rake-10.4.2 in any of the
- Call methods from a task in Rake files
- already initialized constant RUBY: heroku rake db:
- rake / rails .save! not updating database
This worked for me. Possibly the same as the previous answer, but I do not know enough about java, .war files, or jruby, to say in any certainty.
I'd like a convenient way of doing this too, although I'm not sure it's possible.
From the exploded (unzipped) WAR, you can get somewhere with this kind of thing: