由于找不到Ruby开发标头,无法安装乘客

时间:2012-12-21 23:58:08

标签: ruby rvm passenger

运行rvmsudo passenger-install-nginx-module,我得到:

Checking for required software...

 * GNU C++ compiler... found at /usr/bin/g++
 * The 'make' tool... found at /usr/bin/make
 * A download tool like 'wget' or 'curl'... found at /usr/bin/wget
 * Ruby development headers... not found

没有运气

  

请以root身份运行apt-get install ruby1.8-dev

1 个答案:

答案 0 :(得分:2)

你试过了吗?

rvm get head
rvm reload
gem install passenger
rvmsudo passenger-install-nginx-module