changed RAILS_ROOT to Rails.env
Merge pull request #3 from pelargir/rails-root

Switch to Rails.root