Centos 部署rails应用遇到的一些问题
2011-11-04 15:56
441 查看
Centos 部署rails应用遇到的一些问题
1. 在centos中安装Nokogiri是遇到问题
解决方法如下:
2. openssl 问题
解决方法如下:
下载1.9.2源文件,执行以下命令
If you’ve compiled Ruby from source, you might get this error when executing script/console:
One way of fixing this is to compile readline, which is distributed along with the Ruby source:
1. 在centos中安装Nokogiri是遇到问题
libxml2 is missing. please visit <http://nokogiri.org/tutorials/installing_nokogiri.html>
解决方法如下:
$ sudo yum install -y libxml2 libxml2-devel libxslt libxslt-devel
2. openssl 问题
$ ... :in `require': no such file to load -- openssl (LoadError)
解决方法如下:
下载1.9.2源文件,执行以下命令
$ cd ~/Downloads/ruby-1.9.2-p180/ext/openssl (assuming you extracted the ruby tar to ~/Downloads) $ ruby extconf.rb && make && sudo make install
If you’ve compiled Ruby from source, you might get this error when executing script/console:
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
One way of fixing this is to compile readline, which is distributed along with the Ruby source:
cd /opt/src/ruby-1.8.5-p2/ext/readline ruby extconf.rb make sudo make install
相关文章推荐
- redhat 6/Centos 6下部署MySQL 5.6时遇到的一些问题
- 阿里云部署rails应用遇到的问题与解决方案
- WebLogic 上部署Spring应用遇到的一些问题的解决
- 【Ruby on Rails Tutorial笔记】将第一个Rails应用部署到 Heroku实践遇到的问题及解决过程记录
- Linux(CentOS 5.8)下部署Django-1.5.5遇到的一些问题
- 在websphere6中部署应用遇到的struts问题
- weblogic部署javaweb项目遇到的一些问题
- 续:Java Tomcat 中调用.net DLL的方法 - 实际部署中遇到的一些问题解决
- linux部署nginx,tomcat,mysql遇到的一些问题
- 应用部署到JBOSS上遇到的问题
- CentOS 5.5 安装 Oracle 10gR2 遇到的一些问题
- 部署 maven 的一些要点、遇到的问题和心得体会
- CentOs 编译php 遇到的一些问题
- 在CentOS 7上遇到的一些问题,以及自己的解决方法
- WAS 6.1 部署遇到一些问题
- CentOS7 配置nginx 遇到的一些问题
- WinCE应用软件开发时遇到的部署问题
- linux部署nginx,tomcat,mysql遇到的一些问题
- CentOS系统安装遇到的一些问题
- weblogic 9.2 linux 安装部署遇到的一些问题