我尝试安装Dashing框架。
我的环境是Windows 7,64位。我已下载ruby 1.9.3并安装了DevKit,但我无法安装Dashing。
如果我写:gem install dashing
,我收到此错误:
C:\devkit>gem install dashing
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing dashing:
ERROR: Failed to build gem native extension.
"C:/Program Files (x86)/Heroku/ruby-1.9.3/bin/ruby.exe" extconf.rb
C:/Program Files (x86)/Heroku/ruby-1.9.3/bin/ruby.exe: invalid switch in RUBYOPT: -F (RuntimeError)"
Gem files will remain installed in C:/Program Files (x86)/Heroku/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/thin-1.6.3 for inspection.
Results logged to C:/Program Files (x86)/Heroku/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/thin-1.6.3/ext/thin_parser/gem_make.out
我该如何解决这个问题?
答案 0 :(得分:2)
也许你的红宝石路径中有空格。 尝试在C:ruby中使用devkit重新安装ruby
答案 1 :(得分:0)
作为其他变体 - 您可以将RailsInstaller用于Windows。它包含devkit,它已经配置为可以工作。