Converting and adding variables in ruby :     puts 'Hello mate what is thy first name?'
    name1 = gets.chomp
    puts 'Your name is ' + name1 + ' eh? What is thy middle name?'
    name2 = gets.chomp
    puts 'What is your last name then ' + name1 + '?' 
    name3 = gets.chomp
    Puts 'Oh! So your full name is ' + name1 + ' ' + name2 + ' ' + name3 + ' ?'
    puts 'That is lovey!'
    puts 'did you know there are ' ' + name1.length.to_i + '+' + 'name2.length.to_i + '+' + name3.length.to_i + '' in your full name


I am fairly new to this and I am having trouble with taking a gets.chomp defined variable and either adding it to another variable or adding it to an integer.

Any Ideas?