setup rails plugin