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。 –