I understand what you say about the text not matching so I played round with changing them so they matched, and after non-working numerous iterations,
it finally worked!
its now
home = File.expand_path "~"
myrubyscripts = File.join home, "MyRubyScripts"
require_all(myrubyscripts)
I think it worked because I eventually removed the spaces around (myrubyscripts)?
thanks for your help Jim
may this be of assistance to other Mac users.