Forum: Ruby on Rails problem with starting the rails server through cron

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
041d532712f9a6129617ccf55d6ff1b9?d=identicon&s=25 Archana Subodh (archanasubodh)
on 2008-12-17 12:40
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
This topic is locked and can not be replied to.