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配置参考

  • 相关阅读:
    python3-file的修改实现类似shell中sed的功能
    python3-字典的循环
    python3-file文件操作
    python3-字典的增删改查
    python3-字典中存储列表
    python3-字典中的一些常用方法
    python3-字典中包含字典
    报错调试和工具使用
    (三)、Struts第三天
    struts体系结构
  • 原文地址:https://www.cnblogs.com/jifeng/p/1831132.html
Copyright © 2011-2022 走看看