about system requirement
qiuliang opened this issue · comments
Hi robbin!
I'm learning ruby in recent month, and i found the open source project about ruby in here. thanks for your share.
I has cloned the source code from github,but i couldn't ran this project in my vm.
enviorment:
centos 6.2 with epel source / ruby-1.9.3-p327 / gem-1.8.25 / mysql-5.6 /memcached-1.4.15
some mistakes made by command like this:
bundle exec rake secret
bundle exec rake ar:migrate
...
the error message:
Could not find mysql2-0.3.11 in any of the sources
Run `bundle install` to install missing gems.
But i executed some commands according to the error message like this:
bundle install # the command is ok
gem install mysql2 # the command make some error message like this:
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11/ext/mysql2/gem_make.out
Do you give me some advice? thanks a lot
It's seem mysql2 driver error. You can open /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11/ext/mysql2/gem_make.out to find problems.
Thanks for your reply.
I searched a lot of posts , maybe CentOS is not suitable for ruby.
I had reinstalled my OS with Ubuntu Server 12.04 LTS.
This problem was fixed.
My website run on CentOS 6.2, it's not CentOS problem.