Setup gems and rails config