если вы используете Ruby 1.8.7 или выше, вам не нужно устанавливать smtp_tls gem.Вам просто нужно включить enable_starttls_auto в вашем config / environment.rb
config.action_mailer.smtp_settings = {
:enable_starttls_auto => true,
:port => 587,
:address => "smtp.gmail.com",
:domain => "example.com",
:user_name => "user@domain.com",
:password => "your_password",
:authentication => :plain
}