1
我在Windows 7上运行 铁轨所以我本来有一个错误,说:Windows 7的mysql2宝石错误
ERROR: Failed to build gem native extension
C:/Ruby192/bin/ruby.exe extconf.rb
checking for rb_thread_blocking_region()... yes
checking for main() in -llibmysql... no
***extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers
我再通过计算器去,看到解决这个问题,我需要做的只是宝石安装mysql2。我这样做,但现在得到这个错误:
gem install mysql2
ERROR: while executing gem... (NameError)
uinitialized constant Psyck::Syck
尝试安装旧版本的mysql2 gem。 –