How to resolve? uninitialized constant PLATFORM (NameError)

Hi,

I ran into a situation where it complains about the: uninitialized
constant PLATFORM (NameError), I'm not sure how to resolve it.

What is the workaround?
I've reinstalled ruby already. I just cant see to figure out what else I
need to add.

···

===
/Users/me/project/gui-tests/UITestFwork/shared/gems/gem_loader.rb:23:in
`<top (required)>': uninitialized constant PLATFORM (NameError)
  from
/Users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in
`require'
  from
/Users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in
`require'
  from
/Users/me/project/gui-tests/UITestFwork/selenium/base/framework.rb:15:in
`<top (required)>'
  from
/Users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in
`require'
  from
/Users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in
`require'
  from .....

Thanks,
D

Not sure if this helps but this is what I have also:

gem list

*** LOCAL GEMS ***

actionmailer (4.0.0)
actionpack (4.0.0)
activemodel (4.0.0)
activerecord (4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0)
arel (4.0.0)
atomic (1.1.13)
builder (3.1.4)
bundler (1.3.5)
bundler-unload (1.0.1)
erubis (2.7.0)
hike (1.2.3)
hpricot (0.8.6)
i18n (0.6.5)
json (1.8.0)
mail (2.5.4)
mime-types (1.24)
minitest (4.7.5)
multi_json (1.7.9)
polyglot (0.3.3)
rack (1.5.2)
rack-test (0.6.2)
rails (4.0.0)
railties (4.0.0)
rake (10.1.0)
rdoc (4.0.1)
ruby-oci8 (2.1.5)
rubygems-bundler (1.2.2)
rubygems-update (2.0.7)
rvm (1.11.3.8)
sprockets (2.10.0)
sprockets-rails (2.0.0)
thor (0.18.1)
thread_safe (0.1.2)
tilt (1.4.1)
treetop (1.4.15)
tzinfo (0.3.37)

--
Posted via http://www.ruby-forum.com/.

I suppose you were using ruby 1.8 last?

This is now RUBY_PLATFORM. You will need to update your program to run on ruby 1.9+

···

On Aug 27, 2013, at 13:33, Derek Dere <lists@ruby-forum.com> wrote:

I ran into a situation where it complains about the: uninitialized
constant PLATFORM (NameError), I'm not sure how to resolve it.