From: "Abinoam Jr." Date: 2010-12-16T00:01:07+09:00 Subject: Re: No such file to load -- rubygems (LoadError) It's probably "env-related" Look at: http://stackoverflow.com/questions/2585244/rake-task-via-cron-problem-loading- http://groups.google.com/group/rubyonrails-talk/msg/128b59ee57473cfb For debugging, run "env" in a shell and at cron and see the differences. Abinoam Jr. On Wed, Dec 15, 2010 at 7:51 AM, Ryan Davis wrote: > > > On Dec 15, 2010, at 1:18, Chih tung Chao wrote: > >> My script already have require "rubygems" > > Then you're prolly using a different ruby in cron than on cmdline. Use full path to ruby in crontab >