setup rails application