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

Pry 0.13 prevents rails 6 from booting if also using Spirit Hands #2121

Closed
brandondrew opened this issue Mar 23, 2020 · 13 comments · Fixed by 3scale/porta#2135
Closed

Pry 0.13 prevents rails 6 from booting if also using Spirit Hands #2121

brandondrew opened this issue Mar 23, 2020 · 13 comments · Fixed by 3scale/porta#2135

Comments

@brandondrew
Copy link

After bundle update pry, which resulted in the following change:

...
Using pry 0.13.0 (was 0.12.2)
...

When I start rails, I get a long stack trace (which appears to strangely include more or less the same info twice):

Traceback (most recent call last):
	80: from bin/rails:3:in `<main>'
	79: from bin/rails:3:in `load'
	78: from /Users/brandon/Code/Rails/portal/bin/spring:15:in `<top (required)>'
	77: from /Users/brandon/Code/Rails/portal/bin/spring:15:in `require'
	76: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
	75: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
	74: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
	73: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
	72: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
	71: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
	70: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
	69: from /Users/brandon/Code/Rails/portal/bin/rails:9:in `<top (required)>'
	68: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	67: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	66: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	65: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	64: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	63: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands.rb:18:in `<main>'
	62: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/command.rb:46:in `invoke'
	61: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/command/base.rb:69:in `perform'
	60: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
	59: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
	58: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
	57: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/server/server_command.rb:138:in `perform'
	56: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/server/server_command.rb:138:in `tap'
	55: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/server/server_command.rb:141:in `block in perform'
	54: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	53: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	52: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	51: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	50: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	49: from /Users/brandon/Code/Rails/portal/config/application.rb:7:in `<main>'
	48: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
	47: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require'
	46: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each'
	45: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require'
	44: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each'
	43: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
	42: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	41: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	40: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	39: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	38: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	37: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-rails-0.3.9/lib/pry-rails.rb:3:in `<main>'
	36: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	35: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	34: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	33: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	32: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	31: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry.rb:78:in `<main>'
	30: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	29: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	28: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	27: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	26: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	25: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/cli.rb:134:in `<main>'
	24: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/cli.rb:40:in `add_plugin_options'
	23: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/cli.rb:40:in `each'
	22: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/plugins.rb:55:in `load_cli_options'
	21: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	20: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	19: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	18: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	17: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	16: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/cli.rb:5:in `<main>'
	15: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	14: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	13: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	12: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	11: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	10: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands.rb:12:in `<main>'
	 9: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	 8: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	 7: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	 6: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	 5: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	 4: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands/exit_all.rb:3:in `<main>'
	 3: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands/exit_all.rb:7:in `<module:PryByebug>'
	 2: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:60:in `load_missing_constant'
	 1: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:17:in `allow_bootsnap_retry'
/Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:61:in `block in load_missing_constant': uninitialized constant Pry::Command::ExitAll (NameError)
	81: from bin/rails:3:in `<main>'
	80: from bin/rails:3:in `load'
	79: from /Users/brandon/Code/Rails/portal/bin/spring:15:in `<top (required)>'
	78: from /Users/brandon/Code/Rails/portal/bin/spring:15:in `require'
	77: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
	76: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
	75: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
	74: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
	73: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
	72: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
	71: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
	70: from /Users/brandon/Code/Rails/portal/bin/rails:9:in `<top (required)>'
	69: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	68: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	67: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	66: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	65: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	64: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands.rb:18:in `<main>'
	63: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/command.rb:46:in `invoke'
	62: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/command/base.rb:69:in `perform'
	61: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
	60: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
	59: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
	58: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/server/server_command.rb:138:in `perform'
	57: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/server/server_command.rb:138:in `tap'
	56: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/server/server_command.rb:141:in `block in perform'
	55: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	54: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	53: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	52: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	51: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	50: from /Users/brandon/Code/Rails/portal/config/application.rb:7:in `<main>'
	49: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
	48: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require'
	47: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each'
	46: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require'
	45: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each'
	44: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
	43: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	42: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	41: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	40: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	39: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	38: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-rails-0.3.9/lib/pry-rails.rb:3:in `<main>'
	37: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	36: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	35: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	34: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	33: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	32: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry.rb:78:in `<main>'
	31: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	30: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	29: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	28: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	27: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	26: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/cli.rb:134:in `<main>'
	25: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/cli.rb:40:in `add_plugin_options'
	24: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/cli.rb:40:in `each'
	23: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-0.13.0/lib/pry/plugins.rb:55:in `load_cli_options'
	22: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	21: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	20: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	19: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	18: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	17: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/cli.rb:5:in `<main>'
	16: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	15: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	14: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	13: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	12: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	11: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands.rb:12:in `<main>'
	10: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
	 9: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
	 8: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
	 7: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
	 6: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
	 5: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands/exit_all.rb:3:in `<main>'
	 4: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands/exit_all.rb:7:in `<module:PryByebug>'
	 3: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:59:in `load_missing_constant'
	 2: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:80:in `rescue in load_missing_constant'
	 1: from /Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:9:in `without_bootsnap_cache'
/Users/brandon/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/active_support.rb:80:in `block in load_missing_constant': uninitialized constant Pry::Command::ExitAll (NameError)

I renamed my ~/.pryrc file to eliminate the possibility that the problem is related to anything in there.

@brandondrew brandondrew changed the title New Pry version prevents rails from starting New Pry version prevents rails 6 from starting Mar 23, 2020
@barrettkingram
Copy link
Contributor

Try updating pry-byebug. The latest release of pry is incompatible with older versions of pry-byebug. See deivid-rodriguez/pry-byebug#287.

@davidrunger
Copy link

davidrunger commented Mar 24, 2020

I was also getting NameError: uninitialized constant Pry::Command::ExitAll after bumping pry from 0.12.2 to 0.13.0 (or, rather, after letting Dependabot do it for me).

Also bumping pry-byebug (via bundle update pry-byebug, which bumped pry-byebug from 3.8.0 to 3.9.0) fixed the issue for me. 👍

Thanks for the solution @barrettkingram !, and for creating this issue @brandondrew .

rmosolgo added a commit to rmosolgo/graphql-ruby that referenced this issue Mar 24, 2020
@brandondrew
Copy link
Author

@barrettkingram That doesn't fix the issue for me. In order to get Rails to start, I must keep pry and pry-byebug back. Here's the output of gemdiff for my working Gemfile:

Outdated gems included in the bundle:
  * pry (newest 0.13.0, installed 0.12.2)
  * pry-byebug (newest 3.9.0, installed 3.8.0)

pry: 0.13.0 > 0.12.2
https://github.com/pry/pry/compare/v0.12.2...v0.13.0

pry-byebug: 3.9.0 > 3.8.0
https://github.com/deivid-rodriguez/pry-byebug/compare/v3.8.0...v3.9.0

rmosolgo added a commit to rmosolgo/graphql-ruby that referenced this issue Mar 25, 2020
@barrettkingram
Copy link
Contributor

@brandondrew Any chance you can provide a sample rails app that reproduces the issue? Also worth double checking the problem isn't something that can be resolved by removing your bootsnap cache or disabling spring.

@nleo
Copy link

nleo commented Apr 8, 2020

Update from pry-byebug (3.6.0) -> pry-byebug-3.9.0.gem helps me.

I had problem with running pry without rails

@nleo
Copy link

nleo commented Apr 8, 2020

Running pry in command line didn't work until update:

$ pry
Traceback (most recent call last):
	21: from /usr/local/bin/pry:23:in `<main>'
	20: from /usr/local/bin/pry:23:in `load'
	19: from /var/lib/gems/2.5.0/gems/pry-0.13.0/bin/pry:9:in `<top (required)>'
	18: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	17: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	16: from /var/lib/gems/2.5.0/gems/pry-0.13.0/lib/pry.rb:78:in `<top (required)>'
	15: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	14: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	13: from /var/lib/gems/2.5.0/gems/pry-0.13.0/lib/pry/cli.rb:134:in `<top (required)>'
	12: from /var/lib/gems/2.5.0/gems/pry-0.13.0/lib/pry/cli.rb:40:in `add_plugin_options'
	11: from /var/lib/gems/2.5.0/gems/pry-0.13.0/lib/pry/cli.rb:40:in `each'
	10: from /var/lib/gems/2.5.0/gems/pry-0.13.0/lib/pry/plugins.rb:55:in `load_cli_options'
	 9: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 8: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 7: from /var/lib/gems/2.5.0/gems/pry-byebug-3.6.0/lib/pry-byebug/cli.rb:3:in `<top (required)>'
	 6: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 5: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 4: from /var/lib/gems/2.5.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands.rb:10:in `<top (required)>'
	 3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 2: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	 1: from /var/lib/gems/2.5.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/exit_all.rb:1:in `<top (required)>'
/var/lib/gems/2.5.0/gems/pry-byebug-3.6.0/lib/pry-byebug/commands/exit_all.rb:5:in `<module:PryByebug>': uninitialized constant Pry::Command::ExitAll (NameError)

@esparkman
Copy link

Just for some additional info, this is also an issue in Rails 3.2, it doesn't only effect newer Rails Versions.

@tomholford
Copy link

For anyone landing here from Google, updating pre-byebug to 3.9.0 did the trick

@x-yuri
Copy link

x-yuri commented Jul 20, 2020

This particular commit breaks pry-byebug:

NameError: uninitialized constant Pry::Command::ExitAll

That happens because pry changes the order in which it requires files, but pry-byebug expects commands to be required before plugins.

The solution is to either downgrade pry < 0.13.0, or upgrade pry-byebug >= 3.9.0.

guicassolato added a commit to 3scale/porta that referenced this issue Aug 20, 2020
@brandondrew
Copy link
Author

I selectively disabled other gems to see if any were creating this conflict as a side effect. I found that disabling Spirit Hands enables me to upgrade Pry to the latest version. However, if I limit the version of Pry, then I can use Spirit Hands.

So I have two work-arounds.

A. Remove Spirit Hands:

  gem 'pry'
  # gem 'spirit_hands'

B. Use Spirit Hands & limit Pry:

  gem 'pry', ['~> 0.12', '!= 0.13.0', '!= 0.13.1']
  gem 'spirit_hands'

I haven't investigated to see how or why there is a conflict between Spirit Hands and the latest version of Pry. So I can't say whether this issue should be closed or not.

I'm updating the title to better reflect the situation.

@brandondrew brandondrew changed the title New Pry version prevents rails 6 from starting Pry 1.3 prevents rails 6 from booting if also using Spirit Hands Aug 22, 2020
@brandondrew brandondrew changed the title Pry 1.3 prevents rails 6 from booting if also using Spirit Hands Pry 0.13 prevents rails 6 from booting if also using Spirit Hands Aug 22, 2020
@x-yuri
Copy link

x-yuri commented Aug 24, 2020

That sounds like a different issue.

@brandondrew
Copy link
Author

That sounds like a different issue.

It's probably different from the issue that others wrote about here, but it is the issue that I originally reported. There was perhaps enough of a similarity between what I reported and what they experienced that there was a lot of discussion here about their issues, which appear to be different from mine.

@andrehjr
Copy link
Member

I took a quick look into spirit_hands, and it seems like the current issue is related to the removal of autoloading plugins made on #2119.

This needs to be fixed on spirit_hands side in order to be compatible with newer pry versions. If I have some time tomorrow I'll send a PR there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants