Turning native ruby to a rails application