Closed damienlethiec closed 5 years ago
@ArturMoczulski Could you take a look into this?
Same problem here. Rails 5.2 Ruby 2.5.1
Any hints?
(Not a very good start... )
Hi there, I couldn't reproduce the problem with a fresh installation of rails5.2 and ruby 2.5.1. Can you try that in your environments?
We'd need more information to try to resolve this issue. Running bundle exec rake middleware
and pasting the output might help to identify if a middleware can be causing a problem. Also, if there is some special configuration related to the routes, hosts, etc...it'd be nice to know.
I'm going to close this issue pending feedback from one of the participants.
I am facing the same issue using Rails API.
FWIW I found that the spring gem caused this error for me. Remove spring code from ./bin/rake
fixes the issue, or call it like this:
DISABLE_SPRING=1 rake rollbar:test
Reopening this one. @waltjones can you investigate when you get a chance?
@damienlethiec @filipemenezes @thermistor
Thank you for these reports. I have not been able to reproduce, even when using exactly Rails 5.2.0.rc1, and ensuring that spring is running and routes are loaded before running the rake task. I have considered it might be related to an earlier version of spring, but spring has been at 2.0.2 since well before Rails 5.2.0 and the initial issue report.
If you are using a different spring version, or if there is anything notable about your config that hasn't been discussed yet, let me know.
@damienlethiec @filipemenezes @thermistor
We have a fix now. See https://github.com/rollbar/rollbar-gem/pull/816, or try setting config.cache_classes == true
in your Rails config.
I discovered that my problems reproducing were caused by using bundle exec rake
rather than bin/rake
, so that is a workaround as well.
Nice work
@thermistor thank you for mentioning spring.
Hello,
I often add rollbar to my projects without problems but this time it is not working:
Rails 5.2.0.rc1 (I have already been able to make Rollbar work in another rails 5.2.0.rc1 project).
When I run
rake rollbar:test
, I have an error (bellow).Anybody know what is the problem?
Thank you