Fix dock role
Fix ruby gems installation