Here is my Gemfile:
runtime 'ruby'
file 'Gemfile'
file 'config/database.yml', 'config/'
file 'lib/models.rb', 'lib/'
remote_build_command 'bundle install --standalone'
exec 'my_worker.rb'
The remote_build_command, bundle install --standalone
installs the gems, but they don't seem to load properly.
bundle install --standalone
installs the gems tobundle/bundler/setup
directory. So at the top ofmy_worker.rb
, add the following line:This should load up all your gems.