We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to #288 (cc. @tgwizard).
Request: Can we add a require 'rails/all' to the Phonelib initializer? i.e.
require 'rails/all'
if defined?(Rails) require 'rails/all' # <-- added class Phonelib::Railtie < Rails::Railtie
Happy to make this change myself, but wanted to see if there's a faster workaround.
Context: I'm having trouble starting up the multi-process feature of Sidekiq Enterprise. More details on the issue here.
At least Rails::Railtie and Rails::Engine are undefined.
Rails::Railtie
Rails::Engine
Adding gem 'phonelib', require: 'rails/all' to my Gemfile does not work.
gem 'phonelib', require: 'rails/all'
> bundle exec sidekiqswarm [swarm] Preloading Bundler groups ["default"] /Users/eileenj/.rvm/gems/ruby-3.1.4/gems/phonelib-0.8.7/lib/phonelib.rb:22:in `<top (required)>': uninitialized constant Rails::Railtie (NameError) class Phonelib::Railtie < Rails::Railtie ^^^^^^^^^
The text was updated successfully, but these errors were encountered:
@eileen-jiang did you try to use approach described in sidekiq/sidekiq#4766 (comment) and sidekiq/sidekiq#4766 (comment)
Sorry, something went wrong.
No branches or pull requests
Related to #288 (cc. @tgwizard).
Request: Can we add a
require 'rails/all'
to the Phonelib initializer? i.e.Happy to make this change myself, but wanted to see if there's a faster workaround.
Context: I'm having trouble starting up the multi-process feature of Sidekiq Enterprise. More details on the issue here.
At least
Rails::Railtie
andRails::Engine
are undefined.Adding
gem 'phonelib', require: 'rails/all'
to my Gemfile does not work.The text was updated successfully, but these errors were encountered: