Skip to content

Instantly share code, notes, and snippets.

@smoovej
Created November 6, 2014 00:03
Show Gist options
  • Save smoovej/9bb5ee58c700d544db9c to your computer and use it in GitHub Desktop.
Save smoovej/9bb5ee58c700d544db9c to your computer and use it in GitHub Desktop.
[16:03:31] ~/Sites/conspire-www (invitation_job_fix) $ heroku run console --app conspire
Running `console` attached to terminal... up, run.7025
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
** [Raven] Raven 0.7.1 ready to catch errors
Loading production environment (Rails 3.2.19)
irb(main):001:0> i = Introduction.last
Introduction Load (14.3ms) SELECT `introductions`.* FROM `introductions` ORDER BY `introductions`.`id` DESC LIMIT 1
=> #<Introduction id: 343, recipient_address: "jeremy@conspire.com", recipient_name: "Jeremy Frazão", intermediary_name: "Bing Chou", target_name: "Alex McPherson", subject: "Introduction to Alex McPherson", body: "Hi Jeremy,\n\nIt looks like Bing Chou knows Alex McPh...", message_id: "9df717f5-2e59-41e3-82c4-d6628e6fc7ed@conspire.com", account_id: 411440, created_at: "2014-11-05 22:57:42", updated_at: "2014-11-05 22:57:42">
irb(main):002:0> i.send_via_gmail
Account Load (4.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 411440 LIMIT 1
[{:to=>"Jeremy Frazão <jeremy@conspire.com>", :message_id=>"9df717f5-2e59-41e3-82c4-d6628e6fc7ed@conspire.com", :subject=>"Introduction to Alex McPherson", :body=>"Hi Jeremy,\n\nIt looks like Bing Chou knows Alex McPherson. I'm interested in seeing if Alex M would be a good fit at Conspire. Would you be willing to ask Bing?\n\nBest,\nAlex\n\n--\nSent via Conspire. Unlock your extended network at www.conspire.com", :send_via_oauth=>true}]
Net::SMTPFatalError: 555 5.5.2 Syntax error. r4sm4367186qak.26 - gsmtp
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:951:in `check_response'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:920:in `getok'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:863:in `rcptto'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:844:in `block in rcptto_list'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:842:in `each'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:842:in `rcptto_list'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:663:in `send_message'
from /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp_connection.rb:55:in `deliver!'
from /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/message.rb:248:in `deliver!'
from /app/app/models/account.rb:228:in `send_mail'
from /app/app/models/introduction.rb:42:in `send_via_gmail'
from (irb):2
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.19/lib/rails/commands/console.rb:47:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.19/lib/rails/commands/console.rb:8:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.19/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'irb(main):003:0> i.send_via_gmail
[{:to=>"Jeremy Frazão <jeremy@conspire.com>", :message_id=>"9df717f5-2e59-41e3-82c4-d6628e6fc7ed@conspire.com", :subject=>"Introduction to Alex McPherson", :body=>"Hi Jeremy,\n\nIt looks like Bing Chou knows Alex McPherson. I'm interested in seeing if Alex M would be a good fit at Conspire. Would you be willing to ask Bing?\n\nBest,\nAlex\n\n--\nSent via Conspire. Unlock your extended network at www.conspire.com", :send_via_oauth=>true}]
Net::SMTPFatalError: 555 5.5.2 Syntax error. d32sm4363689qge.20 - gsmtp
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:951:in `check_response'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:920:in `getok'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:863:in `rcptto'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:844:in `block in rcptto_list'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:842:in `each'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:842:in `rcptto_list'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/smtp.rb:663:in `send_message'
from /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp_connection.rb:55:in `deliver!'
from /app/vendor/bundle/ruby/2.0.0/gems/mail-2.5.4/lib/mail/message.rb:248:in `deliver!'
from /app/app/models/account.rb:228:in `send_mail'
from /app/app/models/introduction.rb:42:in `send_via_gmail'
from (irb):3
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.19/lib/rails/commands/console.rb:47:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.19/lib/rails/commands/console.rb:8:in `start'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.19/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'irb(main):004:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment