(This is just a different way to do what is mentioned above in case you don't have R/W permission, as I did not)

Navigate to the /private/etc/paths in Finder, r-click, Get Info, Select Sharing & Permissions, change Everyone to Read & Write, edit and save the file (append the new path to the end of the list), then restore the permissions if necessary.