Skip to content

Instantly share code, notes, and snippets.

@duard
Created October 3, 2012 16:35
Show Gist options
  • Select an option

  • Save duard/3828131 to your computer and use it in GitHub Desktop.

Select an option

Save duard/3828131 to your computer and use it in GitHub Desktop.
Errors installing ruby on CENTOS 6.3
{12-10-03 13:23}vps:~ carcia% which rails
rails not found
{12-10-03 13:30}vps:~ carcia% curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10009 100 10009 0 0 10348 0 --:--:-- --:--:-- --:--:-- 89366
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1084k 100 1084k 0 0 922k 0 0:00:01 0:00:01 --:--:-- 3193k
Installing RVM to /home/carcia/.rvm/
Adding rvm PATH line to /home/carcia/.bashrc /home/carcia/.zshenv.
RVM sourcing line found in /home/carcia/.zprofile.
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm/
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Installation of RVM in /home/carcia/.rvm/ is almost complete:
* To start using RVM you need to run `source /home/carcia/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# carcia,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne
rvm 1.16.6 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
Please note that `rvm 2 ...` was removed, try `2` instead. ( see: 'rvm usage' )
{12-10-03 13:33}vps:~ carcia% source /home/carcia/.rvm/scripts/rvm
/home/carcia/.rvm/scripts/initialize:45: __rvm_cleanse_variables: function definition file not found
{12-10-03 13:33}vps:~ carcia% rvm -v
rvm 1.16.6 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
{12-10-03 13:33}vps:~ carcia% rvm reinstall 1.9.3 --disable-binary
/home/carcia/.rvm/src/ruby-1.9.3-p194 has already been removed.
/home/carcia/.rvm/rubies/ruby-1.9.3-p194 has already been removed.
Fetching yaml-0.1.4.tar.gz to /home/carcia/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 460k 100 460k 0 0 318k 0 0:00:01 0:00:01 --:--:-- 553k
Extracting yaml-0.1.4.tar.gz to /home/carcia/.rvm/src
Prepare yaml in /home/carcia/.rvm/src/yaml-0.1.4.
Error running 'autoreconf -is --force', please read /home/carcia/.rvm/log/ruby-1.9.3-p194/yaml/autoreconf.log
Configuring yaml in /home/carcia/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix=/home/carcia/.rvm/usr ', please read /home/carcia/.rvm/log/ruby-1.9.3-p194/yaml/configure.log
Compiling yaml in /home/carcia/.rvm/src/yaml-0.1.4.
Error running 'make', please read /home/carcia/.rvm/log/ruby-1.9.3-p194/yaml/make.log
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Installing Ruby from source to: /home/carcia/.rvm/rubies/ruby-1.9.3-p194, this may take a while depending on your cpu(s)...
ruby-1.9.3-p194 - #downloading ruby-1.9.3-p194, this may take a while depending on your connection...
ruby-1.9.3-p194 - #extracting ruby-1.9.3-p194 to /home/carcia/.rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #extracted to /home/carcia/.rvm/src/ruby-1.9.3-p194
Skipping configure step, 'configure' does not exist, did autoreconf not run successfully?
ruby-1.9.3-p194 - #compiling
Error running 'make', please read /home/carcia/.rvm/log/ruby-1.9.3-p194/make.log
There has been an error while running make. Halting the installation.
basename: operando em falta
Tente 'basename --help' para mais informações.
{12-10-03 13:34}vps:~ carcia%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment