Problem with latest RailsRunner.rb and old Rails version

Since updating to LSWS 4.0.13 I get the following error from an old Rails app:
/opt/lsws/fcgi-bin/RailsRunner.rb:11: uninitialized constant Rails::VERSION (NameError)
I worked around the problem by adding "rescue '2.0.0'" after the offending line.