Advertisement
Guest User

Untitled

a guest
Jun 26th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. $ heroku run rake db:migrate
  2. Running `rake db:migrate` attached to terminal... up, run.8747
  3. DEPRECATION WARNING: Support for Rails < 4.1.0 will be dropped. (called from <top (required)> at /app/vendor/bundle/ruby/2.0.0/bundler/gems/activeadmin-0b4b22871fd3/lib/active_admin.rb:8)
  4. Migrating to DeviseCreateAdminUsers (20131123085427)
  5. == DeviseCreateAdminUsers: migrating =========================================
  6. -- create_table(:admin_users)
  7. -> 0.0361s
  8. -- add_index(:admin_users, :email, {:unique=>true})
  9. -> 0.0188s
  10. -- add_index(:admin_users, :reset_password_token, {:unique=>true})
  11. -> 0.0146s
  12. == DeviseCreateAdminUsers: migrated (0.0715s) ================================
  13.  
  14. Rendered vendor/bundle/ruby/2.0.0/gems/devise-3.5.1/app/views/devise/mailer/reset_password_instructions.html.erb (1.3ms)
  15.  
  16. Sent mail to new@email.com (565.7ms)
  17. rake aborted!
  18. StandardError: An error has occurred, this and all later migrations canceled:
  19.  
  20. 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbv2L
  21. /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'
  22. /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/message.rb:2129:in `do_delivery'
  23. /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/message.rb:232:in `block in deliver'
  24. /app/vendor/bundle/ruby/2.0.0/gems/actionmailer-4.0.0/lib/action_mailer/base.rb:456:in `block in deliver_mail'
  25. /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `block in instrument'
  26. /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  27. /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `instrument'
  28. /app/vendor/bundle/ruby/2.0.0/gems/actionmailer-4.0.0/lib/action_mailer/base.rb:454:in `deliver_mail'
  29. /...
  30. /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/railties/databases.rake:42:in `block (2 levels) in <top (required)>'
  31.  
  32. ActionMailer::Base.smtp_settings = {
  33. :address => "smtp.gmail.com",
  34. :port => 587,
  35. :domain => "mysite.com",
  36. :user_name => "my@email.com",
  37. :password => "mypassword",
  38. :authentication => "plain",
  39. :enable_starttls_auto => true
  40. }
  41.  
  42. ActionMailer::Base.default_url_options = { :host => 'mysite.com' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement