Home > Database > Mysql Tutorial > bundle install 出现 'gem install mysql2

bundle install 出现 'gem install mysql2

WBOY
Release: 2016-06-07 15:40:10
Original
1251 people have browsed it

bundle install 出现 'gem install mysql2 -v '0.3.15' succeeds before bunding ' 解决:sudo apt-get install libmysql-ruby '若找不到这个包试试下面到包 参考:http://packages.ubuntu.com/search?keywords=mysql-ruby ruby-dataobjects-mysql libmysqld

bundle install 出现  'gem install mysql2 -v '0.3.15' succeeds before bunding '

解决:sudo apt-get install libmysql-ruby '若找不到这个包试试下面到包

         参考:http://packages.ubuntu.com/search?keywords=mysql-ruby

        ruby-dataobjects-mysql

          libmysqldb-ruby

          ruby-dbd-mysql

           sudo apt-get install libmysqlient-dev ' 有时候装好了需要更新(这个是关键)

装好这两个后再bundle install后就成功了。


若在启动rails  s的时候报错很多 'require' 或者'block in require'

解决: apt-get install node-js:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template