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

No such middleware to insert before: Rails::Rack::Logger #5

Open
anthony-robin opened this issue Nov 1, 2016 · 3 comments
Open

No such middleware to insert before: Rails::Rack::Logger #5

anthony-robin opened this issue Nov 1, 2016 · 3 comments

Comments

@anthony-robin
Copy link

I get this issue when running rails generate activeadmin_jobs:install or starting web server after bundling.

  • Rails 4.2.7.1 / Ruby 2.3.0
  • ActiveAdmin 1.0.0.pre4
  • ActiveadminJobs 0.1.2
@MatayoshiMariano
Copy link

@anthony-robin did you find a workaround?

@anthony-robin
Copy link
Author

@MatayoshiMariano No and I don't use activeadmin anymore :(

@ldlsegovia
Copy link
Member

@MatayoshiMariano What version of activeadmin_jobs are you using?
The last version works with job_notifier v1.3.0
On that version, you can set the silenced_log option to false in the initializer. I think that will solve the problem.

You won't be able to silence the noisy output, but I think the gem will work.

JobNotifier.setup do |config|
  # If you're using an app client that is not part of rails project where Job Notifier gem was
  #  installed, you can define a custom root_url. For example: "http://app.platan.us/"
  # config.root_url = "/"

  # This gem uses the polling technique to inform what's happening with your jobs. This generates
  #  a noisy log output. If you want to silence this output
  config.silenced_log = false
end

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

No branches or pull requests

3 participants