-
Notifications
You must be signed in to change notification settings - Fork 7
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
Weird error? #6
Comments
Oh, seems like it's related to the update of |
@dwyn Did you resolve this error? |
Hi @crazyoptimist! Terribly sorry, I'm just seeing this. I only ran When I run ➜ rails s
/Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api/presenters/team_presenter.rb:13:in `<module:TeamPresenter>': uninitialized constant SlackRubyBotServer::Api::Presenters::TeamPresenter::Boolean (NameError)
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api/presenters/team_presenter.rb:4:in `<module:Presenters>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api/presenters/team_presenter.rb:3:in `<module:Api>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api/presenters/team_presenter.rb:2:in `<module:SlackRubyBotServer>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api/presenters/team_presenter.rb:1:in `<main>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api/presenters.rb:7:in `<main>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server/api.rb:7:in `<main>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/slack-ruby-bot-server-1.1.0/lib/slack-ruby-bot-server.rb:13:in `<main>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from /Users/dharmon/.rvm/rubies/ruby-3.0.1/lib/ruby/site_ruby/3.0.0/bundler/runtime.rb:66:in `block (2 levels) in require'
from /Users/dharmon/.rvm/rubies/ruby-3.0.1/lib/ruby/site_ruby/3.0.0/bundler/runtime.rb:61:in `each'
from /Users/dharmon/.rvm/rubies/ruby-3.0.1/lib/ruby/site_ruby/3.0.0/bundler/runtime.rb:61:in `block in require'
from /Users/dharmon/.rvm/rubies/ruby-3.0.1/lib/ruby/site_ruby/3.0.0/bundler/runtime.rb:50:in `each'
from /Users/dharmon/.rvm/rubies/ruby-3.0.1/lib/ruby/site_ruby/3.0.0/bundler/runtime.rb:50:in `require'
from /Users/dharmon/.rvm/rubies/ruby-3.0.1/lib/ruby/site_ruby/3.0.0/bundler.rb:173:in `require'
from /Users/dharmon/Development/CMM/cipherbot/config/application.rb:20:in `<main>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/railties-6.1.3.2/lib/rails/commands/server/server_command.rb:138:in `block in perform'
from <internal:kernel>:90:in `tap'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/railties-6.1.3.2/lib/rails/commands/server/server_command.rb:135:in `perform'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/railties-6.1.3.2/lib/rails/command/base.rb:69:in `perform'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/railties-6.1.3.2/lib/rails/command.rb:50:in `invoke'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/railties-6.1.3.2/lib/rails/commands.rb:18:in `<main>'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/dharmon/.rvm/gems/ruby-3.0.1/gems/bootsnap-1.7.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' Any thoughts? Thanks in advance - I'll keep a closer eye on this issue/thread! |
No worries. |
Yes I have. Do I need quotations? For example: |
Quotations doesn't matter, please paste in your dot env here, replacing the creds with placeholders |
Sure thing. See below
|
RAILS_HOST_NAME=cmm-cipherbot.herokuapp.com
BASE_URL=https://cmm-cipherbot.herokuapp.com |
I updated it.
The entire trace reads as follows:
|
Got it, let me try to repro this when I get available, maybe soon |
Hey @crazyoptimist what are your thoughts on this comment? I know it has less to do with your app and more to do with |
I narrowed this down to mongoid 7.3.0, not sure what the actual issue is but downgrading to 7.2.3 works. |
Whoa! Thanks @dblock, thanks @crazyoptimist! Ill merge the changes and let you know what happens. |
Can we close this now, @dwyn ? |
Hey @crazyoptimist, yeah I think we can close it now. I am now getting a new error in the server logs, but I think it has more to do with mongo configuration in my .env file.
If you have any suggestions, Im all ears. Otherwise, I think I'm okay. Thanks again for you're help🙂 |
|
Hiya! I'm getting a weird error (see below). Any ideas on how I could go about debugging it?
(I am using Rails 3.0.1, but I get the same error with Rails 2.7.2)
The text was updated successfully, but these errors were encountered: