ruby script/server giving error

Starting a server giving error

=> Rails 2.3.5 application starting on http://0.0.0.0:3000

/usr/lib/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

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in `load_missing_constant’: uninitialized constant ActiveSupport::Concern (NameError)

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing'

from /usr/lib/ruby/gems/1.8/gems/disguise-3.0.2/lib/disguise/controllers/disguise_application.rb:4

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'

from /usr/lib/ruby/gems/1.8/gems/disguise-3.0.2/lib/disguise.rb:2

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:208:in `load'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:307:in `load_gems'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:307:in `each'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:307:in `load_gems'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:164:in `process'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'

from /home/amrit/ror/engine/config/environment.rb:15

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'

from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'

from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:84

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'

from script/server:3

can anybody help ?

Thanks in advance

amritpalpathakgne.wordpress.com

run “gem env” and paste here

http://www.mattvsworld.com/blog/2010/03/version_requirements-deprecated-warning-in-rails/

run “gem env” and paste here

RubyGems Environment:

  • RUBYGEMS VERSION: 1.3.7

  • RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

  • INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8

  • RUBY EXECUTABLE: /usr/bin/ruby1.8

  • EXECUTABLE DIRECTORY: /usr/bin

  • RUBYGEMS PLATFORMS:

  • ruby

  • x86-linux

  • GEM PATHS:

  • /usr/lib/ruby/gems/1.8

  • /home/amrit/.gem/ruby/1.8

  • GEM CONFIGURATION:

  • :update_sources => true

  • :verbose => true

  • :benchmark => false

  • :backtrace => false

  • :bulk_threshold => 1000

  • REMOTE SOURCES:

  • http://rubygems.org/

Thanks

amritpalpathakgne.wordpress.com

Hi, The easiest way would be install rvm and then update Ruby and rails to newest version that would safe you a headache :). You may want to use the passenger later on as web server for Rails.