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 Psych Gentoo It Seems Your Ruby Installation Is Missing Psych](https://trinket-snapshots.trinket.io/3fc8f9b55e-1503927115917.png)
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:
![Installation Installation](https://resources.jetbrains.com/help/img/idea/2021.1/rm_capistrano_install_gems.png)
It Seems Your Ruby Installation Is Missing Psych
- 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.
- It seems your ruby installation is missing psych for YAML output). It seems your ruby installation is missing psych (for YAML output).
- 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.