Does anyone have experience getting the whenever gem working?
Trying to get cron jobs working in rails using https://github.com/javan/whenever . I tried I couple different ways but always got similar errors to below. (would include more info but discord says the message is too long).
#18 13.42 bundler: failed to load command: whenever (/usr/local/rvm/gems/3.0.1/bin/whenever)
#18 13.42 /usr/local/rvm/gems/3.0.1/gems/whenever-1.0.0/lib/whenever/command_line.rb:77:in
popen': No such file or directory - crontab (Errno::ENOENT)
#18 13.42 from /usr/local/rvm/gems/3.0.1/gems/whenever-1.0.0/lib/whenever/command_line.rb:77:in
write_crontab'
#18 13.42 from /usr/local/rvm/gems/3.0.1/gems/whenever-1.0.0/lib/whenever/command_line.rb:38:in run'
#18 13.42 from /usr/local/rvm/gems/3.0.1/gems/whenever-1.0.0/lib/whenever/command_line.rb:6:in
execute'GitHub
GitHub - javan/whenever: Cron jobs in Ruby
Cron jobs in Ruby. Contribute to javan/whenever development by creating an account on GitHub.
3 Replies
Project ID:
4f76bdef-696d-475a-864e-739e98a3c955
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
shot in the dark here, but put this in a nixpacks.toml file in your project