fix compile error for latest jruby-rack
add gitignore