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
treeder edited this page Mar 23, 2012
·
1 revision
The following gems and code libraries are supported because they either have binary dependencies or they are very large gems. To use the ones on this list, simply use a require at the top of your worker.
Here's an example of all that you need to do to make use of one of these supported gems:
require 'iron_worker'
require 'nokogiri'
class PageWorker < IronWorker::Base
def run
...
end
end
We update the gems on a regular basis. And while older versions may be retained, if you need a specific version, we recommend using the merge_gem command to bring in the specific version you need.
merge_gem "some_other_gem_with_version", "1.2.3"
Unmerging Binary Gems
In some situations you may receive errors with respect to system gems. In these cases, you made need to unmerge it. One reason for this is because it could be a binary gem and with the auto-merging of dependencies, binary gems might be loaded but not able to execute within IronWorker. (Many binary gems are included in the IronWorker system for just this reason.)