Comments (4)
Interesting, I do want to get this fixed
On Fri, Jun 12, 2015 at 5:52 AM, Bryce Johnston [email protected]
wrote:
After installing the logster gem, I was getting the following error:
$ rake middleware --trace
** Invoke middleware (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
No such middleware to insert before: ActionDispatch::DebugExceptions
/home/tirith/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/stack.rb:125:inassert_index' /home/tirith/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/stack.rb:88:in
insert'
...The conflict ended up being with the web-console gem, rails app booted up
fine w/ logster after removing it from the Gemfile. I don't really use
web-console anyway, but figured in-case someone had it in their Gemfile and
ran into the middleware issue, they would see this.Thanks for this handy tool.
—
Reply to this email directly or view it on GitHub
#24.
from logster.
Had the same problem when using logster together with better_errors.
The reason is that logster will replace ActionDispatch::DebugExceptions with Logster::Middleware::DebugExceptions. And gems like 'better_errors' will try to insert their middlewares after ActionDispatch::DebugExceptions.
To avoid this error, make sure logster is added behind those gems in Gemfile.
Probably it's a good idea to add this notice to the README file.
from logster.
Ahh ... I see, can you add a note to the README ?
On Mon, Jun 15, 2015 at 10:39 AM, Jiajia Wang [email protected]
wrote:
Had the same problem when using logster together with better_errors.
The reason is that logster will replace ActionDispatch::DebugExceptions
with Logster::Middleware::DebugExceptions. And gems like 'better_errors'
will try to insert their middlewares after ActionDispatch::DebugExceptions.To avoid this error, make sure logster is added behind those gems in
Gemfile.Probably it's a good idea to add this notice to the README file.
—
Reply to this email directly or view it on GitHub
#24 (comment).
from logster.
Sure
from logster.
Related Issues (20)
- Any way to feed Logster pre-existing log files? HOT 1
- undefined method `broadcast_to' HOT 12
- Not working in staging and production
- Why logster is restricted to only development or production environment? HOT 3
- logster only works on /logs path HOT 4
- Doesn't work in production HOT 9
- Heroku deployment HOT 5
- Unable to set environments in application.rb HOT 1
- Unable to use Logster with https://github.com/lulalala/multi_logger HOT 2
- Specify key namespace in Redis connection HOT 3
- Bug with X-Accel-Redirect HOT 4
- Cluster of servers serving the same application HOT 2
- Multiple NoMethodErrors in Rails 5 with quiet assets HOT 2
- stack level too deep (SystemStackError) HOT 2
- Failed to report error: no implicit conversion of ActionDispatch::Request into Hash HOT 1
- undefined method `silence' for #<Logster::Logger>
- !
- Can I use logster into my own rails app? HOT 1
- `No such middleware to insert before: ActionDispatch::DebugExceptions` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logster.