Topic: undefined method `>='

C:/HoursControl/config/boot.rb:86:in `load_rubygems': undefined method `>=' for nil:NilClass (NoMethodError)
        from C:/HoursControl/config/boot.rb:52:in `load_init
        from C:/HoursControl/config/boot.rb:38:in `run'
        from C:/HoursControl/config/boot.rb:11:in `boot!'
        from C:/HoursControl/config/boot.rb:109:in `<top (re
        from script/server:2:in `require'
        from script/server:2:in `<main>'

What does this mean? How can ">=" be undefined? It's a standard operator!

This is production code. It immediately gives me this error and dies when I try to run it under rails on my local machine.

Re: undefined method `>='

>= is undefined for nil though big_smile

The Gem::RubyGemsVersion method is raising an error which is causing Rails to explode.

Run irb and type:

require "rubygems"

and see what you get (for me its "1.3.6")

Also worth posting your ruby, rails and gems versions as they may give us a clue.


Rob Anderton

Re: undefined method `>='

RubyGemsVersion is 1.3.7

Rails 2.3.8

ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32]

gem 1.37