# Job composer error

**URL:** <https://discourse.openondemand.org/t/job-composer-error/4398>\
**Category:** Get Help\
**Created:** [July 30, 2025, 9:41am UTC](https://discourse.openondemand.org/t/job-composer-error/4398 "2025-07-30T09:41:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilkumarnaik](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/anilkumarnaik/32/2828_2.png) [@anilkumarnaik](https://discourse.openondemand.org/u/anilkumarnaik)\
**Post date:** [July 30, 2025, 9:41am UTC](https://discourse.openondemand.org/t/job-composer-error/4398/1 "2025-07-30T09:41:15Z")

</div>

Hello,  
Any input to get over the below errors while trying to job composer. thanks.

## A problem occurred while initializing your data for this app.

At your own risk you can still open the app or you can just go back to the dashboard

Share this with the developer of your app: The setup production script is supposed to be idempotent and is run each time the user opens the app through the dashboard.

#### Exception: OodApp::SetupScriptFailed

Per user setup failed for script at /var/www/ood/apps/sys/myjobs/./bin/setup-production for user anilkumar with output: /usr/local/share/ruby/site\_ruby/rubygems.rb:319:in `load': cannot load such file -- /usr/share/gems/gems/bundler-2.7.1/exe/bundle (LoadError) from /usr/local/share/ruby/site_ruby/rubygems.rb:319:in `activate\_and\_load\_bin\_path’ from /var/www/ood/apps/sys/myjobs/bin/bundle:25:in `’

#### Stack trace:

/var/www/ood/apps/sys/dashboard/app/apps/ood\_app.rb:292:in `block (2 levels) in run_setup_production' /var/www/ood/apps/sys/dashboard/app/apps/ood_app.rb:271:in `chdir’ /var/www/ood/apps/sys/dashboard/app/apps/ood\_app.rb:271:in `block in run_setup_production' /usr/local/share/ruby/site_ruby/bundler.rb:409:in `block in with\_unbundled\_env’ /usr/local/share/ruby/site\_ruby/bundler.rb:698:in `with_env' /usr/local/share/ruby/site_ruby/bundler.rb:409:in `with\_unbundled\_env’ /var/www/ood/apps/sys/dashboard/app/apps/ood\_app.rb:268:in `run_setup_production' /var/www/ood/apps/sys/dashboard/app/controllers/apps_controller.rb:24:in `show’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_controller/metal/basic\_implicit\_render.rb:6:in `send_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/base.rb:215:in `process\_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_controller/metal/rendering.rb:165:in `process_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/callbacks.rb:234:in `block in process\_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active\_support/callbacks.rb:118:in `block in run_callbacks' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/turbo-rails-2.0.7/lib/turbo-rails.rb:24:in `with\_request\_id’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/turbo-rails-2.0.7/app/controllers/concerns/turbo/request\_id\_tracking.rb:10:in `turbo_tracking_request_id' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:127:in `block in run\_callbacks’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active\_support/callbacks.rb:138:in `run_callbacks' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/callbacks.rb:233:in `process\_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_controller/metal/rescue.rb:23:in `process_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/instrumentation.rb:67:in `block in process\_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active\_support/notifications.rb:206:in `block in instrument' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/notifications/instrumenter.rb:24:in `instrument’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active\_support/notifications.rb:206:in `instrument' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal/instrumentation.rb:66:in `process\_action’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_controller/metal/params\_wrapper.rb:259:in `process_action' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/abstract_controller/base.rb:151:in `process’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionview-7.0.8.5/lib/action\_view/rendering.rb:39:in `process' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_controller/metal.rb:188:in `dispatch’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_controller/metal.rb:251:in `dispatch' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/routing/route_set.rb:49:in `dispatch’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/routing/route\_set.rb:32:in `serve' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/journey/router.rb:50:in `block in serve’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/journey/router.rb:32:in `each' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/journey/router.rb:32:in `serve’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/routing/route\_set.rb:852:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/tempfile_reaper.rb:15:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/head.rb:12:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/http/permissions_policy.rb:38:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/http/content\_security\_policy.rb:36:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/cookies.rb:704:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/middleware/callbacks.rb:27:in `block in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:99:in `run\_callbacks’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/middleware/callbacks.rb:26:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/middleware/show\_exceptions.rb:29:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/lograge-0.14.0/lib/lograge/rails_ext/rack/logger.rb:18:in `call\_app’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/railties-7.0.8.5/lib/rails/rack/logger.rb:25:in `block in call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/tagged_logging.rb:99:in `block in tagged’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active\_support/tagged\_logging.rb:37:in `tagged' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/activesupport-7.0.8.5/lib/active_support/tagged_logging.rb:99:in `tagged’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/railties-7.0.8.5/lib/rails/rack/logger.rb:25:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/remote_ip.rb:93:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/request\_store-1.7.0/lib/request\_store/middleware.rb:19:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action_dispatch/middleware/request_id.rb:26:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/method\_override.rb:24:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/middleware/executor.rb:14:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call’ /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/actionpack-7.0.8.5/lib/action\_dispatch/middleware/host\_authorization.rb:138:in `call' /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.5-1/gems/railties-7.0.8.5/lib/rails/engine.rb:530:in `call’ /opt/rh/ondemand/root/usr/share/ruby/vendor\_ruby/phusion\_passenger/rack/thread\_handler\_extension.rb:107:in `process_request' /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept\_and\_process\_next\_request’ /opt/rh/ondemand/root/usr/share/ruby/vendor\_ruby/phusion\_passenger/request\_handler/thread\_handler.rb:110:in `main_loop' /opt/rh/ondemand/root/usr/share/ruby/vendor_ruby/phusion_passenger/request_handler.rb:419:in `block (3 levels) in start\_threads’ /opt/rh/ondemand/root/usr/share/ruby/vendor\_ruby/phusion\_passenger/utils.rb:113:in `block in create\_thread\_and\_abort\_on\_exception’

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 30, 2025, 2:14pm UTC](https://discourse.openondemand.org/t/job-composer-error/4398/2 "2025-07-30T14:14:19Z")

</div>

That’s an odd one.

Do you have any Ruby related configuration files like `~/.bundle/config`or gems in your `~/.gem` or similar? I think the only way this can happen is if you yourself have something that conflicts with the system.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [January 26, 2026, 2:15pm UTC](https://discourse.openondemand.org/t/job-composer-error/4398/3 "2026-01-26T14:15:16Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
