Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundler: failed to load command: rails (/usr/local/bundle/bin/rails) #73

Open
x1wins opened this issue Mar 14, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@x1wins
Copy link
Owner

x1wins commented Mar 14, 2022

docker-compose.yml

    volumes:
      - .:/myapp
      - ~/storage:/storage
      - bundle_path:/bundle
    environment:
      - BUNDLE_PATH=/bundle/vendor
volumes:
  bundle_path:      
% docker-compose up

sidekiq_1  | bundler: failed to load command: sidekiq (/usr/local/bundle/bin/sidekiq)
sidekiq_1  | /usr/local/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:481:in `materialize': Could not find rails-6.1.5, pg-1.3.4, puma-4.3.11, sass-rails-6.0.0, webpacker-4.3.0, turbolinks-5.2.1, jbuilder-2.11.5, bootsnap-1.11.1, byebug-11.1.3, web-console-4.2.0, listen-3.7.1, spring-2.1.1, spring-watcher-listen-2.0.1, rename-1.0.8, devise-4.8.1, kaminari-1.2.2, foreman-0.87.2, redis-4.6.0, redis-namespace-1.8.2, sidekiq-6.4.1, rspec-rails-5.1.1, rspec-sidekiq-3.1.0, database_cleaner-2.0.1, factory_bot_rails-6.2.0, faker-2.20.0, aws-sdk-s3-1.113.0, nokogiri-1.13.3-aarch64-linux, actioncable-6.1.5, actionmailbox-6.1.5, actionmailer-6.1.5, actionpack-6.1.5, actiontext-6.1.5, actionview-6.1.5, activejob-6.1.5, activemodel-6.1.5, activerecord-6.1.5, activestorage-6.1.5, activesupport-6.1.5, railties-6.1.5, sprockets-rails-3.4.2, nio4r-2.5.8, sassc-rails-2.1.2, rack-proxy-0.7.2, turbolinks-source-5.2.0, msgpack-1.4.5, bindex-0.8.1, rb-fsevent-0.11.1, rb-inotify-0.10.1, thor-1.2.1, bcrypt-3.1.16, orm_adapter-0.5.0, responders-3.0.1, warden-1.2.9, kaminari-actionview-1.2.2, kaminari-activerecord-1.2.2, kaminari-core-1.2.2, connection_pool-2.2.5, rack-2.2.3, rspec-core-3.11.0, rspec-expectations-3.11.0, rspec-mocks-3.11.0, rspec-support-3.11.0, database_cleaner-active_record-2.0.1, factory_bot-6.2.0, i18n-1.10.0, aws-sdk-core-3.130.0, aws-sdk-kms-1.55.0, aws-sigv4-1.4.0, websocket-driver-0.7.5, mail-2.7.1, rails-dom-testing-2.0.3, rack-test-1.1.0, rails-html-sanitizer-1.4.2, builder-3.2.4, erubi-1.10.0, globalid-1.0.0, marcel-1.0.2, mini_mime-1.1.2, concurrent-ruby-1.1.9, minitest-5.15.0, tzinfo-2.0.4, zeitwerk-2.5.4, method_source-1.0.0, rake-13.0.6, sprockets-4.0.3, sassc-2.4.0, tilt-2.0.10, ffi-1.15.5, diff-lcs-1.5.0, database_cleaner-core-2.0.1, aws-eventstream-1.2.0, aws-partitions-1.566.0, jmespath-1.6.1, websocket-extensions-0.1.5, loofah-2.14.0, crass-1.0.6 in any of the sources (Bundler::GemNotFound)
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:190:in `specs'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:238:in `specs_for'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/runtime.rb:18:in `setup'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler.rb:151:in `setup'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `block in <top (required)>'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:136:in `with_level'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:88:in `silence'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `<top (required)>'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:56:in `require_relative'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:56:in `kernel_load'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:23:in `run'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:483:in `exec'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:25:in `start'
sidekiq_1  | 	from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/exe/bundle:48:in `block in <top (required)>'
sidekiq_1  | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'
sidekiq_1  | 	from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/exe/bundle:36:in `<top (required)>'
sidekiq_1  | 	from /usr/local/bin/bundle:25:in `load'
sidekiq_1  | 	from /usr/local/bin/bundle:25:in `<main>'
cw-ovp_sidekiq_1 exited with code 1
web_1      | bundler: failed to load command: rails (/usr/local/bundle/bin/rails)
web_1      | /usr/local/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:481:in `materialize': Could not find rails-6.1.5, pg-1.3.4, puma-4.3.11, sass-rails-6.0.0, webpacker-4.3.0, turbolinks-5.2.1, jbuilder-2.11.5, bootsnap-1.11.1, byebug-11.1.3, web-console-4.2.0, listen-3.7.1, spring-2.1.1, spring-watcher-listen-2.0.1, rename-1.0.8, devise-4.8.1, kaminari-1.2.2, foreman-0.87.2, redis-4.6.0, redis-namespace-1.8.2, sidekiq-6.4.1, rspec-rails-5.1.1, rspec-sidekiq-3.1.0, database_cleaner-2.0.1, factory_bot_rails-6.2.0, faker-2.20.0, aws-sdk-s3-1.113.0, nokogiri-1.13.3-aarch64-linux, actioncable-6.1.5, actionmailbox-6.1.5, actionmailer-6.1.5, actionpack-6.1.5, actiontext-6.1.5, actionview-6.1.5, activejob-6.1.5, activemodel-6.1.5, activerecord-6.1.5, activestorage-6.1.5, activesupport-6.1.5, railties-6.1.5, sprockets-rails-3.4.2, nio4r-2.5.8, sassc-rails-2.1.2, rack-proxy-0.7.2, turbolinks-source-5.2.0, msgpack-1.4.5, bindex-0.8.1, rb-fsevent-0.11.1, rb-inotify-0.10.1, thor-1.2.1, bcrypt-3.1.16, orm_adapter-0.5.0, responders-3.0.1, warden-1.2.9, kaminari-actionview-1.2.2, kaminari-activerecord-1.2.2, kaminari-core-1.2.2, connection_pool-2.2.5, rack-2.2.3, rspec-core-3.11.0, rspec-expectations-3.11.0, rspec-mocks-3.11.0, rspec-support-3.11.0, database_cleaner-active_record-2.0.1, factory_bot-6.2.0, i18n-1.10.0, aws-sdk-core-3.130.0, aws-sdk-kms-1.55.0, aws-sigv4-1.4.0, websocket-driver-0.7.5, mail-2.7.1, rails-dom-testing-2.0.3, rack-test-1.1.0, rails-html-sanitizer-1.4.2, builder-3.2.4, erubi-1.10.0, globalid-1.0.0, marcel-1.0.2, mini_mime-1.1.2, concurrent-ruby-1.1.9, minitest-5.15.0, tzinfo-2.0.4, zeitwerk-2.5.4, method_source-1.0.0, rake-13.0.6, sprockets-4.0.3, sassc-2.4.0, tilt-2.0.10, ffi-1.15.5, diff-lcs-1.5.0, database_cleaner-core-2.0.1, aws-eventstream-1.2.0, aws-partitions-1.566.0, jmespath-1.6.1, websocket-extensions-0.1.5, loofah-2.14.0, crass-1.0.6 in any of the sources (Bundler::GemNotFound)
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:190:in `specs'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/definition.rb:238:in `specs_for'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/runtime.rb:18:in `setup'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler.rb:151:in `setup'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `block in <top (required)>'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:136:in `with_level'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/ui/shell.rb:88:in `silence'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/setup.rb:20:in `<top (required)>'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:56:in `require_relative'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:56:in `kernel_load'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:23:in `run'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:483:in `exec'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:25:in `start'
web_1      | 	from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/exe/bundle:48:in `block in <top (required)>'
web_1      | 	from /usr/local/lib/ruby/site_ruby/3.1.0/bundler/friendly_errors.rb:103:in `with_friendly_errors'
web_1      | 	from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/exe/bundle:36:in `<top (required)>'
web_1      | 	from /usr/local/bin/bundle:25:in `load'
web_1      | 	from /usr/local/bin/bundle:25:in `<main>'
cw-ovp_web_1 exited with code 1

@x1wins x1wins self-assigned this Mar 14, 2022
@x1wins x1wins added the bug Something isn't working label Mar 14, 2022
@x1wins x1wins linked a pull request Mar 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant