简体   繁体   English

Mysql gem与Snow Leopard升级有关

[英]Mysql gem troubles with Snow Leopard upgrade

I have done everything that is on the web (i think) 我已经完成了网上的所有工作(我认为)

i have the new 64 bit xcode that came with snow leopard installed 我安装了雪豹随附的新的64位xcode

completely removed mysql, removed gems compeltely, removed rails installed mysql 64 bit, installed gems, installed mysql gem with the env ARCHFLAGS set 完全删除了mysql,完全删除了gems,删除了已安装mysql 64位的rails,已安装gems和已安装env ARCHFLAGS设置的mysql gem

I still get this nasty 我还是很讨厌

NameError: uninitialized constant MysqlCompat::MysqlRes
    from /Users/Navara/Sites/tuosystems/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in `load_missing_constant'
    from /Users/Navara/Sites/tuosystems/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `rake_original_const_missing'
    from /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing'

Im not sure how to debug this.. 我不确定该如何调试。

any pointers will be greatly appreciated! 任何指针将不胜感激!

the only thing that i did not reinstall was the problem! 我没有重新安装的唯一一件事就是问题! RUBY! 红宝石! and doing that fixed it! 并修复它!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM