所以,当我正式安装GitLab之后,我在Gems安装中遇到了一个错误。
Gem files will remain installed in /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/mysql2-0.3.11 for inspection. Results logged to /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/mysql2-0.3.11/ext/mysql2/gem_make.out An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.3.11'` succeeds before bundling.
在网上看,他们说,这个问题经常出现,当一些lib丢失..和一个评论确认我害怕…
问题解决了,input这个命令
sudo apt-get install libmysqlclient-dev
- 从CVS存储库中检出一个文件
- libc / libcstdc ++问题 – 找不到GLIBC_2.18
- 在AWS Ubuntu服务器上安装Python包时出错
- 如何将Redhat Enterprise Linux和SuSe Linux Enterprice镜像下载到Ubuntu?
- 哪里可以find有关备份/归档系统function和机会的信息
sudo apt-get install mysql
然后运行gem install mysql2
问题是,我试图安装它,但..
sudo apt-get install libmysqlclient-dev Reading package lists... Done Building dependency tree Reading state information... Done Package libmysqlclient-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: mysql-server-5.5 E: Package 'libmysqlclient-dev' has no installation candidate
和MySQL服务器5.5已经安装…我怎样才能解决它?
信息:Linux 3.10.13-x86_64-jb1#3 SMP Fri Oct 4 11:46:29 CEST 2013 x86_64 GNU / Linux