# Query on updation of versions of ROR

**URL:** <https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801>\
**Category:** Rails\
**Created:** [September 2, 2009, 1:28pm UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801 "2009-09-02T13:28:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 2, 2009, 1:28pm UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/1 "2009-09-02T13:28:13Z")

</div>

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:in`run’  
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

---

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 2, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/2 "2009-09-02T18:09:23Z")

</div>

You should update your 2.1.0 rails app with:

rake rails:update

It appears that boot script is out of date.

Cheers,  
Nicholas

---

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 3, 2009, 6:23am UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/3 "2009-09-03T06:23:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 3, 2009, 9:01am UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/4 "2009-09-03T09:01:55Z")

</div>

I started the server getting attached image.

---

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 3, 2009, 9:35am UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/5 "2009-09-03T09:35:35Z")

</div>

On Thu, Sep 3, 2009 at 12:01 AM, HUNT HUNT  
\<removed\_email\_address@domain.invalid

> wrote:

> I started the server getting attached image.
> 
> Attachments:  
> [http://www.ruby-forum.com/attachment/4002/Screenshot.png](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

---

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 3, 2009, 10:51am UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/6 "2009-09-03T10:51:17Z")

</div>

Conrad T. wrote:

> On Thu, Sep 3, 2009 at 12:01 AM, HUNT HUNT  
> \<removed\_email\_address@domain.invalid
> 
> > wrote:
> 
> > I started the server getting attached image.
> > 
> > Attachments:  
> > [http://www.ruby-forum.com/attachment/4002/Screenshot.png](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.

---

<div class="post-metadata">

**Author:** ![hunt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@hunt](https://www.ruby-forum.com/u/hunt)\
**Post date:** [September 3, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/query-on-updation-of-versions-of-ror/174801/7 "2009-09-03T12:09:50Z")

</div>

Thanks Buddies The problem is resolved.
