Skip to content

Instantly share code, notes, and snippets.

@scumola
Created October 5, 2012 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scumola/3841266 to your computer and use it in GitHub Desktop.
Save scumola/3841266 to your computer and use it in GitHub Desktop.
rvm on CentOS 5.4 with libyaml error
[root@qa-bacin-app01 ~]# rvm use 1.9.3
Using /usr/local/rvm/gems/ruby-1.9.3-p194
[root@qa-bacin-app01 ~]# gem list
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
*** LOCAL GEMS ***
bigdecimal (1.1.0)
bundler (1.2.1)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
[root@qa-bacin-app01 ~]#
[root@qa-bacin-app01 ~]# rvm reinstall 1.9.3 --disable-binary
Removing /usr/local/rvm/src/ruby-1.9.3-p194...
Removing /usr/local/rvm/rubies/ruby-1.9.3-p194...
Installing Ruby from source to: /usr/local/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 /usr/local/rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p194
ruby-1.9.3-p194 - #configuring
ruby-1.9.3-p194 - #compiling
ruby-1.9.3-p194 - #installing
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.9.3-p194 ...
Installation of rubygems completed successfully.
Saving wrappers to '/usr/local/rvm/bin'.
ruby-1.9.3-p194 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p194 - #importing default gemsets (/usr/local/rvm/gemsets/)
Install of ruby-1.9.3-p194 - #complete
Making gemset ruby-1.9.3-p194 pristine.
Making gemset ruby-1.9.3-p194@bacin pristine.
Making gemset ruby-1.9.3-p194@global pristine.
[root@qa-bacin-app01 ~]# gem list
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
*** LOCAL GEMS ***
bigdecimal (1.1.0)
bundler (1.2.1)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
[root@qa-bacin-app01 ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment