When you try to install rvm and ruby ​​on ubuntu, the curl is not recognized, but is installed

I am installing rvm / ruby ​​on ubuntu 12.04, but I have a problem.

rvm installs successfully, but then when I try to do rvm install ruby, I get this output:

RVM requires 'curl'. Install 'curl' first and try again.
Warning, new version of rvm available '', you are using older version '1.24.7'.
You can disable this warning with:    echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 >> ~/.rvmrc
/usr/local/rvm/scripts/functions/utility_system: line 21: awk: command not found
/usr/local/rvm/scripts/functions/utility_system: line 22: dpkg: command not found
/usr/local/rvm/scripts/functions/utility_system: line 191: tr: command not found
/usr/local/rvm/scripts/functions/utility: line 210: head: command not found
/usr/local/rvm/scripts/functions/utility: line 204: sort: command not found
/usr/local/rvm/scripts/functions/utility_system: line 21: awk: command not found
/usr/local/rvm/scripts/functions/utility_system: line 22: dpkg: command not found
/usr/local/rvm/scripts/functions/utility_system: line 191: tr: command not found
/usr/local/rvm/scripts/functions/support: line 248: find: command not found
/usr/local/rvm/scripts/functions/utility_system: line 21: awk: command not found
/usr/local/rvm/scripts/functions/utility_system: line 22: dpkg: command not found
/usr/local/rvm/scripts/functions/utility_system: line 191: tr: command not found
/usr/local/rvm/scripts/functions/utility: line 210: head: command not found
/usr/local/rvm/scripts/functions/utility: line 204: sort: command not found
Searching for binary rubies, this might take some time.
No binary rubies available for: ///ruby-2.0.0-p353.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for .
Requirements support for ruby-2.0.0-p353 is not implemented yet,
report a bug here => https://github.com/wayneeseguin/rvm/issues
Requirements installation failed with status: 1.

The fact is that the curl is set:

# curl
curl: try 'curl --help' or 'curl --manual' for more information

I can't run curl. Any ideas?

+4
source share
1 answer

UPDATE 2014-09

If you are trying to install the RVM system as a whole, it is preferable to use a regular user (not root) to install RVM.

$ curl -L get.rvm.io | bash -s stable
$ source ~/.rvm/scripts/rvm

$ rvm requirements
$ rvm install 2.1.3
$ rvm use --default 2.1.3

In addition, perhaps off-topic, for the prod server and to replace the standard 1.8.7 (on the system system), you can do this without RVM:

$ git clone https://github.com/sstephenson/ruby-build.git
$ cd ruby-build
$ ./install.sh

$ ruby-build 2.1.3 /usr/local
+5

All Articles