简体   繁体   中英

installing passenger rack error

When I am installing the passenger rack I am getting the following error

I have upgraded to the version 1.9.3 as shown below

any suggestion

 [centos@ip-10-1-213-37 puppet]$ sudo gem install passenger
    ERROR:  Error installing passenger:
            rake requires Ruby version >= 1.9.3.
    [centos@ip-10-1-213-37 puppet]$ ruby -v

ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]

You call ruby -v as regular user, and sudo gem install passenger as root. I suggest you to upgrade your ruby version; you could use rvm for this purpose.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM