Fixed pending joining view
Fix ruby version
Fixed joining alert and restricted team editing