Ruby‎ > ‎

Working with Gems

(Updated 7-7-11)

Supported Gems

These gems are supported because they either have binary dependencies or they are very large gems. Please usemerge_gem whenever possible instead of relying on system installed gems. To use these, simply add require "GEM NAME" to the top of your worker.


bson_ext 

curb 

em-http-request 

eventmachine 

mysql2 

net-scp 

net-sftp 

net-ssh 

nokogiri

rmagick # Use require 'RMagick'

sqlite3 



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"

Including Other Gems and Files Into Your Workers

By using the merge_gem method, you can merge other gems into your workers. Note that they need to be your application environment in order for them to be uploaded.

Merging Gems

You can merge and unmerge other files and code in as well using the merge and unmerge commands:

Merging Other File/ Code

Subpages (1): Merging Gems
Comments