Topic: rails server keeps crashing
After a long and ardous process of setting up and installing Ruby and Rails I got to the point where I can start the Rails Server but after a few seconds it crashes. Btw, I'm using MySql instead of Sqlite. Here's the output (I tried port 3000 and 3001 and same thing happens):
=> Booting WEBrick
=> Rails 3.2.2 application starting in development on http://0.0.0.0:3001
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-03-25 02:44:56] INFO WEBrick 1.3.1
[2012-03-25 02:44:56] INFO ruby 1.8.7 (2011-06-30) [x86_64-linux]
[2012-03-25 02:45:02] WARN TCPServer Error: Address already in use - bind(2)
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'
from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each'
from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'
from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen'
from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize'
from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'
from /var/lib/gems/1.8/gems/rack-1.4.1/lib/rack/handler/webrick.rb:10:in `new'
from /var/lib/gems/1.8/gems/rack-1.4.1/lib/rack/handler/webrick.rb:10:in `run'
from /var/lib/gems/1.8/gems/rack-1.4.1/lib/rack/server.rb:265:in `start'
from /var/lib/gems/1.8/gems/railties-3.2.2/lib/rails/commands/server.rb:70:in `start'
from /var/lib/gems/1.8/gems/railties-3.2.2/lib/rails/commands.rb:50:in `tap'
from script/rails:6:in `require'