小编zen*_*ope的帖子

尝试使用mysql2 gem安装应用程序时出错

我试图安装一个使用mysql2gem的开源rails 3.2.21应用程序,但是当我尝试运行bundlecommant时,我收到以下错误:

Fetching: mysql2-0.3.18.gem (100%)
Building native extensions.  This could take a while...
p
ERROR:  Error installing mysql2:
    ERROR: Failed to build gem native extension.

    /Users/my_username/.rvm/rubies/ruby-2.1.2/bin/ruby -r ./siteconf20150614-72129-orqsb7.rb extconf.rb
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
checking for rb_thread_blocking_region()... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_hash_dup()... yes
checking for rb_intern3()... yes
-----
Using mysql_config at /usr/local/bin/mysql_config
-----
checking for mysql.h... yes
checking for errmsg.h... yes
checking for mysqld_error.h... yes
-----
Don't know …
Run Code Online (Sandbox Code Playgroud)

ruby mysql ruby-on-rails mysql2 ruby-on-rails-4

64
推荐指数
9
解决办法
2万
查看次数

标签 统计

mysql ×1

mysql2 ×1

ruby ×1

ruby-on-rails ×1

ruby-on-rails-4 ×1