I met the exact same problem as described.
Ubuntu 10.04 x64, Eclipse Helio, AptanaStudion2 with RadRail, Ruby 1.9.2, Rails 2.3.5
this doesn't work for me:
require File.expand_path('../../config/boot', __FILE__)
This works for me
require File.expand_path(__FILE__)+ '/../../config/boot'