zoukankan      html  css  js  c++  java
  • 解决:redhat ruby安装passenger

    [root@localhost ruby]# gem install passenger --pre
    ERROR: Error installing passenger:
    passenger requires fastthread (>= 1.0.1, runtime)

    解决办法:下载

    然后把文件复制到当前目录执行:

    gem install fastthread-1.0.1.gem

    [root@localhost ruby]# gem install passenger --pre
    ERROR: Error installing passenger:
    passenger requires daemon_controller (>= 0.2.5, runtime)

    解决办法:

    执行:

    gem install daemon_controller

    [root@localhost ruby]# gem install passenger --pre
    ERROR: Error installing passenger:
    passenger requires file-tail (>= 0, runtime)

    解决办法:

    执行 gem install file-tail

    [root@localhost ruby]# passenger-install-apache2-module
    Welcome to the Phusion Passenger Apache 2 module installer, v3.0.0.pre2.

    This installer will guide you through the entire installation process. It
    shouldn't take more than 3 minutes in total.

    Here's what you can expect from the installation process:

    1. The Apache 2 module will be installed for you.
    2. You'll learn how to configure Apache.
    3. You'll learn how to deploy a Ruby on Rails application.

    Don't worry if anything goes wrong. This installer will advise you on how to
    solve any problems.

    Press Enter to continue, or Ctrl-C to abort.


    --------------------------------------------

    Checking for required software...

    * GNU C++ compiler... found at /usr/bin/g++
    * Curl development headers with SSL support... not found
    * OpenSSL development headers... found
    * Zlib development headers... found
    * Ruby development headers... found
    * OpenSSL support for Ruby... found
    * RubyGems... found
    * Rake... found at /usr/local/ruby/bin/rake
    * rack... found
    * Apache 2... not found
    * Apache 2 development headers... not found
    * Apache Portable Runtime (APR) development headers... not found
    * Apache Portable Runtime Utility (APU) development headers... not found

    Some required software is not installed.
    But don't worry, this installer will tell you how to install them.

    Press Enter to continue, or Ctrl-C to abort.

    --------------------------------------------

    Installation instructions for required software

    * To install Curl development headers with SSL support:
    Please run yum install curl-devel as root.

    * To install Apache 2:
    Please run yum install httpd as root.

    * To install Apache 2 development headers:
    Please run yum install httpd-devel as root.

    * To install Apache Portable Runtime (APR) development headers:
    Please run yum install apr-devel as root.

    * To install Apache Portable Runtime Utility (APU) development headers:
    Please download it from http://httpd.apache.org/
    (APR Utility is an integrated part of Apache.)

    If the aforementioned instructions didn't solve your problem, then please take
    a look at the Users Guide:

    /usr/local/ruby/lib/ruby/gems/1.8/gems/passenger-3.0.0.pre2/doc/Users guide Apache.html

    安装上面的提示把 需要安装的都安装好

    励志名言

    redhat yum配置参考

  • 相关阅读:
    浅谈Static关键字
    iOS安装CocoaPods详细过程
    解决最新版 mac os sierra usb网卡不能使用的问题
    pyCharm最新2017激活码
    开发中所使用的渠道(统计分析、分享、第三方登录、短信等)
    oc中文首字母排序
    UIFont 设置字体
    iOS运用runtime全局修改UILabel的默认字体
    OC录制小视频
    OC
  • 原文地址:https://www.cnblogs.com/jifeng/p/1831132.html
Copyright © 2011-2022 走看看