Get the most out of your Centmin Mod LEMP stack
Become a Member

passenger.sh errors

Discussion in 'Add Ons' started by Steve Tozer, Oct 15, 2014.

  1. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    5:42 PM
    1.91
    10.0.19
    Hello,


    Just trying to install ruby and passenger but seem to have run into some errors using the script

    Code:
    In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
    /root/.bashrc:16:export PATH="/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
    
      * WARNING: Above files contains `PATH=` with no `$PATH` inside, this can break RVM,
        for details check https://github.com/wayneeseguin/rvm/issues/1351#issuecomment-10939525
        to avoid this warning append #PATH.
    
    checks...
    --------------------------------
    export PATH=/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
    
    /usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
    --------------------------------
    passenger.sh: line 146: rvm: command not found
    --------------------------------
    passenger.sh: line 148: rvm: command not found
    
    passenger.sh: line 150: rvm: command not found
    --------------------------------
    passenger.sh: line 152: type: rvm: not found
    --------------------------------
    rvm install 2.1.3
    rvm use 2.1.3 --default
    rvm rubygems current
    --------------------------------
    
    
    --------------------------------
    gem install rake rails sqlite3 mysql bundler --no-ri --no-rdoc
    gem install passenger --no-ri --no-rdoc
    --------------------------------
    passenger.sh: line 167: rvm: command not found
    --------------------------------
    passenger.sh: line 169: rvm: command not found
    --------------------------------
    PATH echo...
    --------------------------------
    passenger.sh: line 184: rvm: command not found
    --------------------------------
    passenger.sh: line 186: gem: command not found
    --------------------------------
    passenger.sh: line 188: gem: command not found
    passenger.sh: line 189: gem: command not found
    --------------------------------
    more checks...
    --------------------------------
    passenger.sh: line 194: ruby: command not found
    --------------------------------
    passenger.sh: line 196: rails: command not found
    --------------------------------
    passenger.sh: line 198: passenger: command not found
    --------------------------------
    passenger.sh: line 201: passenger-memory-stats: command not found
    --------------------------------
    --------------------------------
    passenger.sh: line 205: gem: command not found
    --------------------------------
    passenger.sh: line 217: passenger-config: command not found
    -------------------------------------------
    Setup /usr/local/nginx/conf/passenger.conf
    -------------------------------------------
    Passenger root located at:
    -------------------------------------------
    Setup completed...
    -------------------------------------------
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,106
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    3:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks @Steve Tozer will need to check it out

    moved thread to addons forum
     
  3. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    5:42 PM
    1.91
    10.0.19
    Hi @eva2000 just wondering if you have had chance to look at this o_O

    Thanks
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,106
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    3:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Unfortunately no time, too much paid client work to do right now !
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,106
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    3:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Believe I fixed this with these commits in Centmin Mod .08 beta03 at least for /addons/passenger.sh which installs Phusion Passenger Nginx Module for Nginx which allows you to deploy both Python and Ruby based applications with Nginx.
    Unfortunately, Clang compiler has issues compiling Nginx with Phusion Passenger's Nginx module, so if NGINX_PASSENGER=y is set in centmin.sh, the Nginx configure routine auto switches back to GCC compiler. Which works fine