Gentoo It Seems Your Ruby Installation Is Missing Psych

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time. 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. Make sure you don't have any GEMHOME or similar environment variables.

Gentoo it seems your ruby installation is missing psychicInstallationGentoo It Seems Your Ruby Installation Is Missing PsychI've tried to install ruby on rails, first I installed ruby, and then I did something that looked like I installed rails. The problem is that the 'gem pristine --all' failed and it seemed to complain that ruby 2.2.2 or greater is required for some applications, gems or whatever. It also complained about some coffee-script gem missing. So I added ruby23 to the flags and somehow it looks like I have managed to update to ruby 2.3.0, the latest version of ruby is 2.3.1 but somehow it doesn't install that version.
Now, even though I do bundle install, gem install rails and even creating an app, it seems to fail to install rails. Because e.g. the command rails -v yields:
MissingInstallation

It Seems Your Ruby Installation Is Missing Psych

  1. It is like if Ruby would segfaulted under some scenarios and you would say that it is okay, since you can use it for different tasks. Actually, there could be for example -disable-libyaml switch, which you would use to skip the psych build and made the build successful even if libyaml is not present and RubyGems are broken therefore.
  2. It seems your ruby installation is missing psych for YAML output). It seems your ruby installation is missing psych (for YAML output).
  3. RubyはHomebrewで入れた; libyamlはHomebrewで入れた; rubyがバージョン毎にいくつか入っていた。 2.0系2つの内1つをメインで使っていた; 2.1.1を最近インストールしたが使ってはいない。 エラー内容 $ gem -version と打つも以下の様エラーが表示された。.
Code:
/usr/bin/rails:9:in `load': cannot load such file -- /usr/lib64/ruby/gems/2.3.0/gems/railties-4.2.6/bin/rails (LoadError)
from /usr/bin/rails:9:in `<main>'
[1]+ Exit 20

Gentoo It Seems Your Ruby Installation Is Missing Psychological


When I look into the path, railties isn't installed, but even if I do 'gem install railties' there is still no railties in that path. When looking into the directories I see that the corresponding .../2.0.0/... and .../2.1.0/... paths contain a lot of gems including that railties directory. But the .../2.3.0/... path, i.e. the path in the code box contain almost no gems at all. I have made sure that 'eselect ruby ...' is set to ruby 2.3 so I don't understand why gem command refuses to install gems into that 2.3.0 path. Even 'ruby -v' yields 2.3.0 p0.
I also tried the instructions on http://www.funtoo.org/Package:Ruby but that page is no fun and didn't help me at all.
What's wrong? I don't care about migrations, I just want a working install of RoR, preferrably the latest version. Prior settings for ruby are not important.