Query on updation of versions of ROR

I was having Ruby 1.8.7 version & rails 2.1.0 version what was working
fine,
very smooth I ran program.

I got that new ruby version and rails version has come and available.
So i decided to update the version.

I updated the version, now when I start mongreal server using

script/server it starts giving error…

/HUNT/Rails/Blog/config/boot.rb:86:in load_rubygems': undefined method>=’ for nil:NilClass (NoMethodError)
from /HUNT/Rails/Blog/config/boot.rb:52:in load_initializer' from /HUNT/Rails/Blog/config/boot.rb:38:inrun’
from /HUNT/Rails/Blog/config/boot.rb:11:in boot!' from /HUNT/Rails/Blog/config/boot.rb:109:in<top (required)>’
from script/server:2:in require' from script/server:2:in

I checked the boot.rb but not knowing what to do with this…Any
suggestion is welcomed.

I don’t know why this is happening, I might have installed correctly.

What is the method to install ruby1.9.1 and rails 2.3?

Regards
HUNT

You should update your 2.1.0 rails app with:

rake rails:update

It appears that boot script is out of date.

Cheers,
Nicholas

Nicholas H. wrote:

You should update your 2.1.0 rails app with:

rake rails:update

It appears that boot script is out of date.

Cheers,
Nicholas

I put this syntax in rails console.

But it is not doing work.

tell me where to use it.

Cheers
Hunt

I started the server getting attached image.

On Thu, Sep 3, 2009 at 12:01 AM, HUNT HUNT
<[email protected]

wrote:

I started the server getting attached image.

Attachments:
http://www.ruby-forum.com/attachment/4002/Screenshot.png

What message(s) do you receive in your log file (i.e. development.log or
production.log)?

-Conrad

Conrad T. wrote:

On Thu, Sep 3, 2009 at 12:01 AM, HUNT HUNT
<[email protected]

wrote:

I started the server getting attached image.

Attachments:
http://www.ruby-forum.com/attachment/4002/Screenshot.png

What message(s) do you receive in your log file (i.e. development.log or
production.log)?

-Conrad


/!\ FAILSAFE /!\ 2009-09-03 14:18:58 +0530
Status: 500 Internal Server Error
no such file to load – mysql
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in
require' /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in block in require’
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:521:in
new_constants_in' /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in require’
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/requires.rb:7:in
block in require_library_or_gem' /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/reporting.rb:11:in silence_warnings’
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/core_ext/kernel/requires.rb:5:in
require_library_or_gem' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/mysql_adapter.rb:65:in mysql_connection’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in
new_connection' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in checkout_new_connection’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in
block (2 levels) in checkout' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in loop’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in
block in checkout' /usr/local/lib/ruby/1.9.1/monitor.rb:190:in mon_synchronize’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in
checkout' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in connection’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in
retrieve_connection' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in retrieve_connection’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in
connection' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/query_cache.rb:9:in cache’
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/query_cache.rb:28:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/head.rb:9:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/params_parser.rb:15:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/session/cookie_store.rb:93:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/reloader.rb:29:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/failsafe.rb:26:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/lock.rb:11:in
block in call' <internal:prelude>:8:in synchronize’
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/lock.rb:11:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-2.3.3/lib/action_controller/dispatcher.rb:106:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.3/lib/rails/rack/static.rb:31:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in block in call’
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
each' /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.3/lib/rails/rack/log_tailer.rb:17:in
call' /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/content_length.rb:13:in call’
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.0.0/lib/rack/handler/webrick.rb:46:in
service' /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service’
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in block in
start_thread’


The above is development log.

Thanks Buddies The problem is resolved.