Add lock to ruby installing

This should fix race condition while on new jenkins nodes

Change-Id: I7fd37f69757b277f8439a27140641b6230764989
1 file changed