Configure rails app