Запускаю файл с кодом получаю ошибку
home/kindix/.rvm/rubies/ruby/2.3.0/lib/ruby/2.3.0/net/smtp.rb:977:in 'check_auth_response' : 534-5.7.14 <https://accounts.google.com/ContinueSignIn?>
sarp=1&scc=1&plt=AKgnsbuFX (Net::SMTPAuthenticationError)
def place
Pony.mail(:to => StoreApplication::Admin.email,
:from => "My Store <kindix.ak@gmail.com>",
:via => :smtp,
:via_options => {
:address => 'smtp.gmail.com',
:port => '587',
:user_name => 'kindix.ak@gmail.com',
:password => '########',
:authentication => :plain,
:domain => "mail.google.com"},
subject: "New order has been placed",
body: "Please check back you admin page" )
end