How to install RVM system requirements without giving sudo access for RVM user

后端 未结 4 1687
面向向阳花
面向向阳花 2020-12-07 08:45

On my Debian server I have a user called \"deployer\" that does not have sudo access, and has RVM installed.

When installing Ruby using \"deployer\", li

4条回答
  •  难免孤独
    2020-12-07 09:30

    I prefer this

    $ rvm autolibs fail
    $ rvm install ruby
    Searching for binary rubies, this might take some time.
    Found remote file https://rubies.travis-ci.org/ubuntu/12.04/x86_64/ruby-2.1.1.tar.bz2
    Checking requirements for ubuntu.
    Missing required packages: gawk g++ gcc make libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
    RVM autolibs is now configured with mode '2' => 'check and stop if missing',
    please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
    or visit https://rvm.io/rvm/autolibs for more information.
    Requirements installation failed with status: 1.
    

    then I can relogin with root and run

    # apt-get install gawk g++ gcc make libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev
    

提交回复
热议问题