ruby - The system cannot find the path specified, whenever gem -


i want use whenever gem run method every 1 minute. problem when try update (whenever -i) error

the system cannot find path specified. c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/whenever-0.9.4/lib/whenever/command_line.rb:72: in 'popen': no such file or directory - crontab - (errno::enoent)        c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/whenever-0.9.4/lib/whenever/command_line.rb:72:in 'write_crontab'        c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/whenever-0.9.4/lib/whenever/command_line.rb:35:in 'run'        c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/whenever-0.9.4/lib/whenever/command_line.rb:6:in 'execute'        c:/ruby21-x64/lib/ruby/gems/2.1.0/gems/whenever-0.9.4/bin/whenever:41:in '<top (required)>'        c:/ruby21-x64/bin/whenever:23:in 'load'     c:/ruby21-x64/bin/whenever:23:in '<main>' 

could tell me problem is?

given directory paths showing in error output appears running on windows. problem whenever gem wrapper unix/linux command 'cron' doesn't exist on windows. see this answer more details.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -