Well the problem was that I ran the command as a root (sudo script/ server) so the ruby 1.8.6 was used. When I am running for the version 1.8.7 I am getting the following errors:
/home/nikos/.rvm/gems/ruby-1.8.7-p249/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 /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/lib/ initializer.rb:271:in `require_frameworks': no such file to load -- openssl (RuntimeError) from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/ lib/initializer.rb:134:in `process' from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/ lib/initializer.rb:113:in `send' from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/ lib/initializer.rb:113:in `run' from /var/www/rails/vmobile/config/environment.rb:12 from /home/nikos/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/ site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /home/nikos/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/ site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/ activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/ activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/ activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' from /home/nikos/.rvm/gems/ruby-1.8.7-p249/gems/rails-2.3.5/ lib/commands/server.rb:84 from /home/nikos/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/ site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /home/nikos/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/ site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 Any ideas what it might been wrong? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.