Настроил сервер, apache+passenger. cent os 6
Запускаю bundle install и вот что выводит мне в конце:
Installing mysql2 0.3.18 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20151014-8736-o6q6o0.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/bin/mysql_config
-----
checking for mysql.h... no
checking for mysql/mysql.h... no
-----
mysql.h is missing. please check your installation of mysql and try again.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.0.0-p643/gems/mysql2-0.3.18 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.0.0-p643/extensions/x86-linux/2.0.0/mysql2-0.3.18/gem_make.out
An error occurred while installing mysql2 (0.3.18), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.3.18'` succeeds before bundling.
советуют поставить mysql-server mysql-client libmysqlclient-dev
но как это сделать на cent os? где-то прочитал что эти библиотеки не ставятся на cent os в принципе....