From: Chih tung Chao Date: 2010-12-15T17:55:18+09:00 Subject: No such file to load -- rubygems (LoadError) Hi all I have use ruby to write a shell script to send email automatic, then i use "#ruby auto_send_mail_for_hk.rb" command to test it and all is correct, but i got following error when i set it to crontab tast for automatic run Please help me, thanks /root/scripts/auto_send_mail_for_hk.rb:7:in `require': No such file to load -- rubygems (LoadError) from /root/scripts/auto_send_mail_for_hk.rb:7 -- Posted via http://www.ruby-forum.com/.