Reputation: 2289
I'm trying to start beanstalk server, and made 1 job to test it, but instead i got nothing. Here is my code:
require 'stalker'
include Stalker
job 'test.job' do
somefile = File.new("somefile")
end
Im using stalker gem to connect ruby and beanstalkd. Any ideas what am i doing wrong?
Upvotes: 0
Views: 166
Reputation: 16435
Unless you open the file and write something into it, or something else, it's quite difficult to observe the job doing anything. Log something into STDOUT, write something into the file or anything else, and then you will be able to see the job executing...
Upvotes: 1