我正在尝试将 Ruby on Rails 安装到在 DSM 5.2 上运行的 Synology NAS 服务器。已安装 Ruby 2.2.0。接下来我尝试安装 Rails。在安装过程中,我收到以下错误消息:
Building native extensions. This could take a while...
/usr/bin/ruby -r ./siteconf20150602-13143-1u6fp4x.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
Building has failed. See above output for more information on the failure.
extconf failed, exit code 1
Gem files will remain installed in /usr/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2 for inspection.
Results logged to /usr/lib/ruby/gems/2.2.0/extensions/x86-linux/2.2.0/nokogiri-1.6.6.2/gem_make.out
你能帮我吗,有人吗?
谢谢,托马斯