update gems and use thin instead of webrick