install rubyonrails( no such file to load -- zlib )
2010-05-26 21:58
429 查看
升级gem提示 no such file to load zlib,按照以前的经验,马上安装了zlib1g-dev,运行后问题依旧存在,无奈。突然起ruby source中包含zlib文件,最终解决办法如下。
1、进行ruby源码包
2、安装ruby自身提供的zlib包
> cd ext/zlib // if openssl cannot find, "cd ext/openssl"
>ruby ./extconf.rb
>make
>sudo make install
再次运行sudo gem update –system,成功升级
1、进行ruby源码包
2、安装ruby自身提供的zlib包
> cd ext/zlib // if openssl cannot find, "cd ext/openssl"
>ruby ./extconf.rb
>make
>sudo make install
再次运行sudo gem update –system,成功升级
相关文章推荐
- Ruby on rails: no such file to load -- openssl
- Ruby on Rails安装过程中出现"no such file to load -- mkmf"错误的解决方法。
- no such file to load -- zlib when using gem install
- CentOS下安装rails,遇到no such file to load -- zlib错误...
- Ruby升级后no such file to load -- readline解决办法
- 「Ruby && Sqlite3」How to install sqlite3 for ruby? (solve: sqlite-ruby no such file...)
- rails no such file to load — readline
- gem install 时报错,no such file to load -- zlib
- Ruby on Rails 安装出现`require’: cannot load such file — openssl (LoadError)的解决方法
- Rubygem 缺少no such file to load zlib 错误
- 源码安装ruby时 ERROR: Loading command: install (LoadError) cannot load such file -- zlib 解决方法
- gem install 时报错,no such file to load -- zlib
- : "no such file to load -- sqlite3" Rails
- Rails错误:LoadError: no such file to load – openssl 解决办法
- no such file to load -- zlib
- rails no such file to load — mysql
- no such file to load — zlib (LoadError)
- rails console" 提示`require': no such file to load -- readline 的问题
- ERROR: Loading command: search (LoadError) no such file to load -- zlib
- Rubygem 缺少no such file to load zlib 错误