ruby on rails - Completed 500 Internal Server Error on heroku devise sign up -


keep getting error when trying sign on live rails app. log shows this:

    2015-06-15t00:13:57.424501+00:00 heroku[router]: at=info method=post path="/users" host=viral-blocmarks.herokuapp.com request_id=9e9de849-e0fa-40d2-b9a9-d69b605bb55d fwd="71.163.107.55" dyno=web.1 connect=1ms service=105ms status=500 bytes=1754 

the app runs fine in development mode, sign , sign in without problems. looked @ versions of databases in local , remote heroku, , out of sync. heroku version (heroku run rake db:version):

20150614012934

local version (rake db:version):

20150614160654

i tried sync them using

   heroku run rake db:migrate 

but don't sync, maybe because there no difference. anyway, appreciate since answers similar posts don't seem work me.

i ran following, didn't help:

    heroku run rake db:reset 

went live app, , not able sign up. got logs, had same error

    completed 500 internal server error in 707ms (activerecord: 10.0ms)                                                                                                                                                                 2015-06-15t02:55:49.697158+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:113:in `call'                                                                                                                             2015-06-15t02:55:49.697160+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.6.1/lib/rack/sendfile.rb:113:in `call'                                                                                                                                                       2015-06-15t02:55:49.697163+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.2.1/lib/rails/application.rb:164:in `call'                                                                                                                                               2015-06-15t02:55:49.697161+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'                                                                                                                                                    2015-06-15t02:55:49.697165+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.6.1/lib/rack/lock.rb:17:in `call'                                                                                                                                                            2015-06-15t02:55:49.697166+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.6.1/lib/rack/content_length.rb:15:in `call'                                                                                                                                                  2015-06-15t02:55:49.697168+00:00 app[web.1]:   vendor/bundle/ruby/2.0.0/gems/rack-1.6.1/lib/rack/handler/webrick.rb:89:in `service'                                                                                                                                              2015-06-15t02:55:49.697171+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'                                                                                                                                                                2015-06-15t02:55:49.697169+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'                                                                                                                                                           2015-06-15t02:55:49.697172+00:00 app[web.1]:   vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'    

found error. didn't modify setup_mail.rb production:

    if rails.env.development? || rails.env.production? 

once added or clause, , deployed, email sign up, confirmation , sign in worked fine.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -