added elasticsearch and redis_url host configuration options in r.rb