[MH] [000000] Make it work for Sinatra and Rails