在我運行ruby dk後我安裝了devkit-devd-32-4.5.2-20111229-1559-sfx 後安裝了ruby 1.9.3 。 RB初始化 後,我運行紅寶石dk.rb安裝在Windows 8上安裝json時發生錯誤--platform = ruby
當我運行創業板安裝JSON --platform =紅寶石 然後我看到:
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Impossibile trovare il percorso specificato.
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
C:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.0 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
devkit是本地編譯器?我已經在dos中執行了這個操作。 – Martino
在dos提示符下嘗試'cc'或'gcc'。如果沒有找到,比你沒有c編譯器。 – Daiku