fix for when Sinatra is also loaded in Rails