window 系统,ruby1.9.3,安装 mysql2 安装不上,总报错,有遇到同样问题的吗。
Gem files will remain installed in D:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.16 for inspection.Results logged to D:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.16/ext/mysql2/gem_make.out
An error occurred while installing mysql2 (0.3.16), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.16'` succeeds before bundling.
D:\devKit>gem install mysql2 -v '0.3.16'
WARNING: Error fetching data: Errno::ETIMEDOUT: A connection attempt failed bec
ause the connected party did not properly respond after a period of time, or est
ablished connection failed because connected host has failed to respond. - conne
ct(2) (http://rubygems.org/specs.4.8.gz)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
D:/Ruby193/bin/ruby.exe extconf.rb
checking for ruby/thread.h... no
。。。。。。。。。。。。。
Gem files will remain installed in D:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.
3.16 for inspection.
Results logged to D:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.16/ext/mysql2/g
em_make.out