http - Rails server return "404 Not Found" after user login -
our rails 3.2.12 app running on ubuntu 12.04
passenger/nginx
server. has been verified both nginx , passenger running fine. after user login, there 404 not found page thrown out. the page redirected session
instead of user menu
. here production log
login (the app running fine rails server locally):
started "/nbhy" 73.15.38.185 @ 2013-05-04 20:50:55 +0000 processing authentify::sessionscontroller#new html rendered /home/ubuntu/.bundler/ruby/2.0.0/authentify-ac308b622f90/app/views/authentify/sessions/new.html.erb within layouts/sessions (3.0ms) completed 200 ok in 12ms (views: 7.8ms | activerecord: 0.6ms)
the rails app logs shows user has been authorized successfully. somehow page redirected session instead of user menu should be. did rake assets:precompile
, did not help. cause error? help.
update:
here output under .rvm/.../bundler. notice gem authentify installed on 5/5 seems have less right 1 installed on 5/2. less right on authentify cause of 404 page?
also in production ruby 2.0.0 , ruby 1.9.3 in development.
ubuntu@ip-10-132-194-74:~/.rvm/gems/ruby-2.0.0-p0/bundler/gems$ ls -l total 16 drwxrwsr-x 10 ubuntu rvm 4096 may 2 04:09 authentify-784b2b097685 drwxr-xr-x 10 ubuntu rvm 4096 may 5 04:15 authentify-408e81eb022f drwxrwsr-x 10 ubuntu rvm 4096 may 4 04:15 customerx-e1f88de5dc18 drwxrwsr-x 10 ubuntu rvm 4096 may 2 04:07 projectx-225464da5d6f drwxr-xr-x 10 ubuntu rvm 4096 may 4 04:15 projectx-408e81ebe12b
Comments
Post a Comment