Don't see where you are using pry. Perhaps it's not needed?