Install g++ and ruby-dev