On 21 January 2015 at 04:55, Jiajia Wang <li...@ruby-forum.com> wrote: > I'm running into a very weird rails server problem. > > I started a rails application in production mode with `rails s -e > produciton` and got some db errors when visiting the site. > > Then I realised that it loaded development database not production > database. > > To confirm that, I removed development db config from database.yml. > > Then I got > $ bundle exec rails s -e production > Digest::Digest is deprecated; use Digest
I don't immediately see why it would be relevant but I would sort the above problem first. It likely means you are using an out of date gem. My principle after decades of tracking down software issues is always to sort problems that should be easily sortable before worrying about more esoteric problems. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuKxxUhMn%2B7ZD_pcrqVC2bgRYTxCb%3DdY4ZHVSVQUFSHVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.