When i'm running ruby script/server webrick -e production
it gives error
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-10-16 11:37:00] INFO WEBrick 1.3.1
[2010-10-16 11:37:00] INFO ruby 1.8.6 (2010-02-05) [x86_64-linux]
[2010-10-16 11:37:00] WARN TCPServer Error: Address already in use - bind(2)
Exiting
/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 /usr/lib64/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:10:in new'
from /usr/lib64/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:10:in
run'
from /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from script/server:3
Using ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux] Rails 2.3.5 gem --version 1.3.7
Tried for gem update --system gem install rubygems-update update_rubygems
still getting error
I have also done this gem install -v=2.3.8 rails
still getting error