Lock in Ruby version