Comments (2)
Hi!
I can add an option to write this to a file. But the foremost reason to have this logger to stderr is that a command execution failed, which means there is a bug in some package/gem (this or a different one) which stops a certain function of this package from working.
Looking at the log, it seems the navigation to the method bill_user
has failed (twice). And the reason for it is that the whenever
gem has its JobList
class override the self.respond_to?
method in a fashion incompatible with Object#respond_to?
(violating the Liskov principle). It does seem like this method is unused by the gem itself, so I suggest to:
- File a bug report about it,
- Add this to
.robe
inside the project root, and restart Robe:
require 'whenever/job_list'
module Whenever
class JobList
class << self
remove_method :respond_to?
end
end
end
(Code untested, let me know if it doesn't work).
from robe.
To sum up, it's usually better to try to fix the errors rather than ignore them.
I've pushed an option to redirect the error logging to a file, though. See the branch error_logdev
. Let me know if it works for you, and you still think it's a good idea.
from robe.
Related Issues (20)
- Cannot load such file pry HOT 2
- Is there a way to show docs in completions popup/eldoc summary? HOT 1
- Autocompletion not working? HOT 1
- Stuck at cpu 100% HOT 6
- Robe cannot autostart: "No matching directory found" HOT 4
- Robe not working on Ruby 2.7.1 HOT 3
- robe make emacs freeze on 27 on large projects HOT 16
- Non-string path in LOAD_PATH HOT 3
- Emacs freezes when robe is called while byebug is active on console HOT 3
- How to disable robe? HOT 2
- Get search failed message when run robe-jump. HOT 19
- `Can't find the location` when try to search a class defined on current project. (but can in irb) HOT 6
- `find-tag-marker-ring` breaks `robe-jump` on Emacs 28. HOT 2
- Environment variables HOT 1
- Can't jump to the nested module's class in `enh-ruby-mode`, but ruby-mode works HOT 29
- robe-jump returns error file doesnt exists - but it exists HOT 11
- [Help Request] Not robe issue, just need some professional help on crystal-mode. HOT 10
- CPU spikes during rails process buffer completion HOT 7
- Allow for configurable specificity of `robe-jump` entries HOT 9
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 robe.