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

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

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.