Redmine is a software-development project management system, written in Ruby on Rails. The demo looks good, I tried it out on a small scale, liked it, and am ready to really use it.
I like my RoR running under Java where I can keep an eye on it, and normally this isn't a problem. Just warble it up, and deploy. Nothing to it.
However, this time around was a little more interesting.
Get everything working per these instructions, running Webrick, etc., under jruby instead of ruby.
The .jar that comes with the latest stable JRuby (as of this writing) has a bug. There's a newer one here which works. It should be replace whatever
jruby-completes
are in jruby-1.3.0\lib\ruby\gems\1.8\gems\warbler-0.9.13\lib
. Thanks to this little post for that fix.Next, run
warble config
, and modify the newly-created config/warble.rb
. Make whatever other changes you might want (like including your jdbc driver in config.gems
), and add lang
to config.dirs.Then warble it up, and away you go.
Also, it really helps if you don't have some weird file corruption issue to help you misdiagnose things, spin your wheels, and get needlessly frustrated for a day and a half. Really, try to avoid that part. Just try it on one of the other ten zillion machines you've got laying around a little sooner, dumbass.
Update
If you happen to be using redmine not only in this configuration, but behind nginx as a proxy, here's a trick to get around the non-relative paths you find all over the place:
server {
listen 80;
server_name whatever.example.com;
location / {
proxy_pass http://server/redmine;
}
location /redmine {
proxy_pass http://server/redmine;
}
Hope this helps.
No comments:
Post a Comment