java -jar rails.war -S rake db:migrate (and some cleanup)#130
java -jar rails.war -S rake db:migrate (and some cleanup)#130kares wants to merge 13 commits intojruby:masterfrom
Conversation
exclude tmp/cache since it might contain (compiled) assets
this allows to make a war for running packagted binaries such as `rake db:migrate` while not embedding a web server
|
wow, this looks really great 👍 |
|
probably having |
|
Thanks Asarih for looking into it :) |
Based on #130, clean up Gemfile
Conflicts: .gitignore Gemfile ext/JarMain.java spec/sample_war/Rakefile
|
Those of you who are interested in this PR, please test ff10266 (you can check out the Thank you. |
|
I'm closing this one, since I opened #136. Please comment on that issue going forward. |
java -jar rails.war -S rake db:migrate
|
@kares I really appreciate the work on this. I had some ruby scripts to do this work and they were working ok, but did not work with the bundled git gems. I am having a problem because I don't think the runnable is respecting: Can this be added please, I don't think it can be passed on the command line. I am just going to make a new issue for this. |
I was working on it almost a year ago and got it to a place where
rakeseems to work :there seems to be more work required for
rails cto work :I promised this on #128 thus here it is, hopefully others will find this useful even as is ...