Updated Ruby and Rails versions and gems.