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 `<main>'' 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 -- Posted via http://www.ruby-forum.com/.
Nicholas Henry
2009-Sep-02 15:21 UTC
Re: Query on updation of versions of ROR.............
You should update your 2.1.0 rails app with: rake rails:update It appears that boot script is out of date. Cheers, Nicholas On Sep 2, 7:28 am, HUNT HUNT <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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 `<main>'' > > 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 > -- > Posted viahttp://www.ruby-forum.com/.
Nicholas Henry wrote:> You should update your 2.1.0 rails app with: > > rake rails:update > > It appears that boot script is out of date. > > Cheers, > NicholasI put this syntax in rails console. But it is not doing work. tell me where to use it. Cheers Hunt -- Posted via http://www.ruby-forum.com/.
I started the server getting attached image. Attachments: http://www.ruby-forum.com/attachment/4002/Screenshot.png -- Posted via http://www.ruby-forum.com/.
On Thu, Sep 3, 2009 at 12:01 AM, HUNT HUNT <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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> -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Conrad Taylor wrote:> On Thu, Sep 3, 2009 at 12:01 AM, HUNT HUNT > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org >> 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. -- Posted via http://www.ruby-forum.com/.