Skip to main content

Posts

Showing posts from August, 2018

right short solution for the unbuntu error extension "ERROR: Error installing rails:ERROR: Failed to build gem native extension."

ERROR: Error installing rails:ERROR: Failed to build gem native extension.Ubuntu Last all day, I try to fix the error "ERROR:  Error installing rails:ERROR: Failed to build gem native extension.". I want to build a "bundle install" on ubuntu 16. I search and do many solutions on the website found but have no good results. I think in the deep and get a conclusion about this problem. The start point is ruby, so I must install it at the begin. Then, I search some key and pick 1 random solution up. I have a right choice. It was fixed. I share with you my solution. The first references, this link for detail: https://gorails.com/setup/ubuntu/16.04 The second, I detail my action to make it work. 1.Ready for setup, all command:" curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d