Locks Ruby version