In my case, I needed SocketRocket to be a ± hidden dependency within a site-specific framework and the app could not be deployed with the previous installation path. (simply using @loader_path does work because within an app it would be at @loader_path/../Frameworks but within a parent framework it needs @loader_path/Frameworks.)