Thursday 4 April 2013

Rails 3.2 MULTIPLE SERVER ISSUE

rails 3.2 do not allow to run multiple servers to resolve this issue the following command can be used ..

$ bundle exec rails s -p 3001 -P tmp/pids/server2.pid
___________________
Another Solution is to follow the steps below :
  • $ lsof|grep 3000

  • this will give you a line starting with:
                    ruby   3205   sami   8u  IPv4
  • take the number in second position (3205 in this case) 
and in console do:
  • kill -9 6205

No comments:

Post a Comment