Rails Tutorial: nokogiri-1.5.2 error on bundle install

前端 未结 1 738
慢半拍i
慢半拍i 2021-02-03 21:31

After working through the RVM setup, rspec and guard sections of chapter 3 of the Ruby on Rails Tutorial, whenever I run bundle install I get the following error du

1条回答
  •  一向
    一向 (楼主)
    2021-02-03 22:01

    You need the header files for compiling extension modules for Ruby.

    You can get the proper version for your version of ruby with:

    sudo aptitude install ruby-dev

    0 讨论(0)
提交回复
热议问题