updated to ruby 2