我正嘗試在DSM 5.2上運行我的Synology NAS服務器上的Ruby on Rails。有安裝Ruby 2.2.0。接下來我試着安裝Rails。在安裝過程中我得到這些錯誤消息:將Ruby on Rails安裝到Synology DSM 5.2的問題
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
你能幫我請,任何人嗎?
謝謝,托馬斯
我已經更新我的回答 – rick