remove deprecated RAILS_ROOT constant

RAILS_ROOT constant no longer work under Rails 3.2

this fixes it.