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
Conflicts: .gitignore Gemfile ext/JarMain.java spec/sample_war/Rakefile
|
The gem is available here: http://db.tt/R1okA4Cm (a Dropbox link). |
|
@BanzaiMan great, looking good |
|
@kares Good to hear. Can we have documentation (README is fine, since we don't have Wiki here)? |
* added notes on executable/runnable feature support (jruby#136) * removed notes on Merb support (JRuby-Rack will remove Merb support completely + it's been most likely non-working in 1.1.x releases anyway) * expect "compiled" .rb to be changed to do a load instead of require - this has been a long incompatibility issue and is present in jruby#134
java -jar rails.war -S rake db:migrate
|
Is this supposed to work for non- From a cursory glance at the diff, it doesn't seem to be rake-specific, but I can't make sense of how it works either, so looking for some direction. |
|
I'm now working on a pull request (#141) to improve this functionality and the implementing code in order to make my use case work (successfully running Bundler gem binaries). @nicksieger Are there tests for the likes of |
|
Thank you, beautiful people, using @bjeanes branch atm, saved lives 👍 |
|
Awesome! I'm glad my branch is helping you out. If we can get more eyes on #141 maybe it can help others too :) |
This pull requests supersedes #130, which was created by @kares.