Forum: Ruby on Rails test.rb:1:in `require': no such file to load -- yaml (LoadError)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B06347911c876f98f947e4cd392bbcd2?d=identicon&s=25 Mitesh S. (mitesh_s)
on 2013-03-11 20:15

I am trying to migrate my ruby from old server to new server.

I did a copy of all the binaries and have set all the relevant patch.
However I am not sure what I am missing. Below require works completely
fine on my old server. however , does not work fine in new server.

How can I know where is the yaml file located on the old server and any
advise how to fix this issue.

File Content:
require 'yaml'
puts "Test"

test.rb:1:in `require': no such file to load -- yaml (LoadError)
This topic is locked and can not be replied to.