You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some workers I cannot access params.
I pass the parameters to the job correctly, but when on the worker when I try to access params, it's nil.
example code:
require'common/base'unlessARGV.include?("-id")params={'name'=>'homespace'}endunlessparams['name']p"'name' parameter is missing, aborting execution..."exitend
error output:
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
/task/xml_data_fetcher_worker.rb:7:in `<top (required)>': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from __runner__.rb:213:in `<main>'
the payload looks just fine when viewed by the web ui:
{
"name": "homespace"
}
Any ideas?
I recently had to add "@use_local_iron_worker_ng = true" to my .worker file to be able to remote build a ruby worker.
without that line, ruby workers cant build (#159)
The text was updated successfully, but these errors were encountered:
On some workers I cannot access params.
I pass the parameters to the job correctly, but when on the worker when I try to access params, it's nil.
example code:
error output:
the payload looks just fine when viewed by the web ui:
Any ideas?
I recently had to add "@use_local_iron_worker_ng = true" to my .worker file to be able to remote build a ruby worker.
without that line, ruby workers cant build (#159)
The text was updated successfully, but these errors were encountered: