Use Rails.root instead of RAILS_ROOT
Merge pull request #28 from banyan/works-as-deamon

Use Rails.root instead of RAILS_ROOT