Trying to sign up on a brand new wagn generated application, I receive the error

 

error self is unrecognized type Card::Content NilClass

  Rendered /home/ricardo/.rvm/gems/ruby-2.1.2/gems/wagn-1.13.0/lib/card/mailer/confirmation_email.html.erb (1.9ms)

 

Sent mail to (9.5ms)

exception = Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 25

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize'

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `open'

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `tcp_socket'

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/smtp.rb:551:in `block in do_start'

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `call'

/home/ricardo/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `timeout'