Ruby on rails - Error during bundle install

前端 未结 2 1966
醉酒成梦
醉酒成梦 2021-02-19 07:56

I\'ve been googling this error below, but I can\'t solve this error:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 ext         


        
2条回答
  •  囚心锁ツ
    2021-02-19 08:35

    Try to install the ruby-dev library for your Ruby version which is 2.1

    $ sudo apt-get install ruby2.1-dev
    

提交回复
热议问题