Another attempt to fix sinatra in a rails app