Can not install json gem with ruby 2.2.3 on Ubuntu

后端 未结 3 1051
醉酒成梦
醉酒成梦 2021-02-02 06:23

I am going through a Rails tutorial and I\'m not able to complete \'bundle install\' due to a problem with the json gem. When I attempt to install it directly:

         


        
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-02 06:50

    Try running rvm implode and then following this guide http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/

    I suspect RVM did not include the correct headers for you.

提交回复
热议问题