linux 安装redmine 遇到的问题
2016-06-08 09:45
691 查看
1、编译安装ruby-2.3.1时
需要先安装libyaml、libyaml-devel
2、 安装gem install rake
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
安装zlib-devel后,进入ruby源码文件夹
安装ruby自身提供的zlib包
#cd ext/zlib
#ruby ./extconf.rb
#make
#make install
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
2、gem install rmagick 出错时
yum install ImageMagick-devel
3、Gem::LoadError: Specified 'mysql' for database adapter, but the gem is not loaded. Add `gem 'mysql'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
在Gemfile 添加 gem "mysql" 然后执行 bundle install
4、LoadError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
解决方案 /alidata/server/mysql-5.6.21/lib 写入 /etc/ld.so.conf 然后运行ldconfig重建/etc/ld.so.cache
5、ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT)
解决方案:config/database.yml 下的 adpter修改mysql2
需要先安装libyaml、libyaml-devel
2、 安装gem install rake
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
安装zlib-devel后,进入ruby源码文件夹
安装ruby自身提供的zlib包
#cd ext/zlib
#ruby ./extconf.rb
#make
#make install
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
2、gem install rmagick 出错时
yum install ImageMagick-devel
3、Gem::LoadError: Specified 'mysql' for database adapter, but the gem is not loaded. Add `gem 'mysql'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
在Gemfile 添加 gem "mysql" 然后执行 bundle install
4、LoadError: libmysqlclient.so.18: cannot open shared object file: No such file or directory
解决方案 /alidata/server/mysql-5.6.21/lib 写入 /etc/ld.so.conf 然后运行ldconfig重建/etc/ld.so.cache
5、ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT)
解决方案:config/database.yml 下的 adpter修改mysql2
相关文章推荐
- centos7学习git笔记
- T--Linux SSH免密码登录
- linux设备驱动模型一字符设备open系统调用流程
- KVM虚拟化部署文档V1.0
- Linux系统如何添加EPEL源
- 64位centos6.7安装mysql-5.7.11
- 【Linux学习】配置环境:实现【Vir…
- linux下与windows下的换行符
- Linux rescue模式解决误删软件依赖
- windows上运行虚拟机出错解决
- 在Ubuntu|CentOS上安装Shutter截图工具及快捷键设置
- linux进程状态
- 【Linux】工作管理
- linux的touch命令
- (转)Loadrunner监控Linux的17个指标
- linux串口编程 select
- 【Linux】pkill命令--按照终端号踢出用户
- 【Linux】进程管理和查看
- linux 内核基础
- 每天一个Linux命令(41)iostat命令