From: Justin Collins Date: 2013-03-14T05:25:01+09:00 Subject: Re: no such file to load -- yaml (LoadError) On 03/13/2013 10:56 AM, Mitesh S. wrote: > Hans Mackowiak wrote in post #1101208: >> what is the ruby version of the new server? you may miss some gem >> installed >> >> >> >> gem install yaml > > Thanks for your reply > > ruby -v > ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux] > > gem -v > 1.0.1 > > I copied entire binary from old machine to new one, so assume all is > good. > This is not a good idea. In Linux, rarely is the entire program in one binary. It is also linked to shared libraries on the system, like zlib. Besides, as you can see you are using a version of Ruby from 2007 and an equally ancient version of rubygems. Unless the new machine is also running software from 2007, I recommend reinstalling Ruby properly via RVM, compiling from source, or using your system's package manager. -Justin