Problem with starting the rails server through cron

Hai,

My application is built on ruby on rails and the database used is
Berkeley database

the problem i get when the script is executed through cron is:

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: can’t convert nil into String (TypeError)

and so on.

note:script works fine when executed manually using ./scriptname

thanks in advance

ArchanaSubodh