shugo / mod_ruby

Embedding Ruby in the Apache web server
http://modruby.net/
BSD 2-Clause "Simplified" License
30 stars 8 forks source link

output Ruby version at ruby_startup on Ruby 2.x. #6

Open nishidayuya opened 10 years ago

nishidayuya commented 10 years ago

RUBY_RELEASE_CODE is deleted at Ruby revision 20654 (2008-12-12), so mod_ruby cannot output Ruby version since Ruby 1.9.1-p0. This pull-request fixes it and makes to output ruby_patchlevel.