Gentoo It Seems Your Ruby Installation Is Missing Psych

  1. It Seems Your Ruby Installation Is Missing Psych
  2. Gentoo It Seems Your Ruby Installation Is Missing Psychology
  3. Gentoo It Seems Your Ruby Installation Is Missing Psychiatrist
  4. Gentoo It Seems Your Ruby Installation Is Missing Psychic

Question or issue on macOS:

I used rvm to install ruby 1.9.3. even though it was successfully installed, it complained about libyaml. and now every time i wanna install a gem (say rails) this warning shows up:

Don’t get the wrong idea; I’m not actually writing this in RubyFrontier from within Ruby 1.9.3. RubyFrontier isn’t ready for Ruby 1.9! But in order for RubyFrontier ever to have even a chance of becoming ready for Ruby 1.9, clearly I would sooner or later have to install Ruby 1.9. 由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。.

  1. Browse other questions tagged ruby-on-rails or ask your own question. The Overflow Blog Podcast 331: One in four visitors to Stack Overflow copies code.
  2. At the moment, it seems like it's a flaw in how this has been packaged, but there's a couple other things to check: Confirm for us that you are not running a Ruby installer like 'rvm' or similar. This might be a problem if you try to run a locally-installed JRuby while a Ruby installer has also activated a different Ruby install.
  3. At the moment, it seems like it's a flaw in how this has been packaged, but there's a couple other things to check: Confirm for us that you are not running a Ruby installer like 'rvm' or similar. This might be a problem if you try to run a locally-installed JRuby while a Ruby installer has also activated a different Ruby install.

I use Mac os X 10.7 (Lion).

How to solve this problem?

Solution no. 1:

In my case

and

solved the problem.

For people using Ubuntu, make sure that libtool is installed prior to the steps above:

For macOS users (with homebrew):

Solution no. 2:

for ubuntu and rvm

Gentoo It Seems Your Ruby Installation Is Missing Psych

worked

It Seems Your Ruby Installation Is Missing Psych

Solution no. 3:

If not using rvm, but rather you are building and installing ruby 1.9.3 from scratch — for example, you’re managing your ruby versions with rbenv — you must install libyaml first. Get it from http://pyyaml.org/; at the moment, the file you want is http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz. Open the tarball and cd into the resulting folder. Then:

Ruby

You are now ready to build ruby. Download ruby from http://ftp.ruby-lang.org/pub/ruby/. Open the tarball and cd into the resulting folder. Now:

Gentoo It Seems Your Ruby Installation Is Missing Psychology

(Or possibly sudo make install, depending on where you’re putting it.) If using rbenv, you’ll know it has worked if you switch to rbenv global 1.9.3-p194 (or whatever your version is called) and gem --version works without a warning. That worked for me on Mac OS X 10.6.8. (Update: I just tried this on Mac OS X 10.8.1 and it seems to have worked fine there too.)

Solution no. 4:

Is what worked for me (on Snow Leopard).

Gentoo

Solution no. 5:

In my case the solution was to add the psych gem to the Gemfile.

Solution no. 6:

Gentoo It Seems Your Ruby Installation Is Missing Psychiatrist

I had this problem. libyaml wouldn’t compile. It turns out I was missing libtool.

That solved my problem.

Gentoo it seems your ruby installation is missing psychic

Solution no. 7:

If you have installed ruby on macOS with homebrew, try this solution.

rm -rf /usr/local/lib/ruby/gems/ && brew reinstall ruby

Note that this will get rid of all installed gems. Best save a list of installed gems with gem list before you run this.

Gentoo It Seems Your Ruby Installation Is Missing Psychic

Solution no. 8:

Solution no. 9:

I got this fixed finally. The issue was that even though I installed libyaml with brew, it was never linked. I had to remove a conflicting header file and then brew link libyaml.

Solution no. 10:

Installing ruby with rvm for mac osx, use autolibs to install libyaml and first uninstalling libyaml helps.

This worked for me:

Hope this helps!

Comments are closed.