我在rails应用措施中碰着错误.
The bundled mysql.rb driver has been
removed from Rails 2.2. Please install
the mysql gem and try again: gem
install mysql.
当我实行做宝石安装mysql它如故无法正常事变,我获得这个错误.
WARNING: Installing to ~/.gem since
/Library/Ruby/Gems/1.8 and /usr/bin
aren’t both writable. WARNING: You
don’t have
/Users/bartligthart/.gem/ruby/1.8/bin
in your PATH,gem executables will
not run.
我也实行了这个,但它没有效
sudo gem install mysql ?? ??with?mysql?config≡/usr/local/mysql/bin/mysql_config
我该怎么做才气安装mysql?
最佳谜底
你必要先安装它:
apt-get install libmysqlclient-dev
(编辑:湖南网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|