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

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)
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.