I\'m scratching my head on this error since similar errors refer to instances of compiling libcurl from source; however, I am just simply trying to get a former rails projec
sudo apt-get install libcurl4-openssl-dev worked for me.