Make the app to work on Ruby 1.8.7