update gems and fix rails server