erro de e-mail de trilhos - 530-5.5.1 Autenticação necessária.

tentando enviar o formulário de e-mail Ruby on Rails, mas recebendo isso:

SocketError in UsersController#create
getaddrinfo: nodename nor servname provided, or not known

Meu arquivo de ambientes / development.rb tem:

  config.action_mailer.smtp_settings = { 
    address: "smtp.gmail.com",
    port: 587,
    domain: "my_company.org",
    authentication: "plain",
    enable_starttls_auto: true,
    user_name: "my_username@my_company.org",
    password: "my_pass"
  }

e

  config.action_mailer.delivery_method = :smtp

e

  config.action_mailer.default_url_options = { :host => 'localhost:5000' } 
  # 5000 rather than 3000 as I am using foreman.

questionAnswers(2)

yourAnswerToTheQuestion