Feature #24950

Add better_errors gem (Better error messages)

Added by Aleksandar Pavic over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Gems support
Target version:-
Resolution:Wont fix

Description

A request to add

https://github.com/charliesome/better_errors

in development section of gemfile by default.

Lot's of new to rails developers have hard time deubgging it's poor error messages, this gem makes debuggin much easier and works well with Redmine.

Submitted a patch

devgems.diff Magnifier - Patch to enable better errors gem (781 Bytes) Aleksandar Pavic, 2017-01-29 00:08

before_better_errors.png (30.1 KB) Aleksandar Pavic, 2017-01-30 14:24

after_better_errors.png (129 KB) Aleksandar Pavic, 2017-01-30 14:24

History

#1 Updated by Toshi MARUYAMA over 3 years ago

Does it support Windows?

#2 Updated by Aleksandar Pavic over 3 years ago

Yes, works, confirmed on Win 10 machine, latest Redmine svn development checkout. r16304

#3 Updated by Toshi MARUYAMA over 3 years ago

You might already know, but you can use Gemfile.local.
source:trunk/Gemfile@16264#L108

#4 Updated by Aleksandar Pavic over 3 years ago

Then you suggest maybe turning this into plugin?

#5 Updated by Toshi MARUYAMA over 3 years ago

  • Subject changed from Better error messages to Add better_errors gem (Better error messages)

#6 Updated by Toshi MARUYAMA over 3 years ago

Aleksandar Pavic wrote:

Then you suggest maybe turning this into plugin?

No, you can use Gemfile.local as this.

group :development do
  gem "better_errors" 
  gem "binding_of_caller" 
end

#7 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Yes, you can create a file named Gemfile.local at the root of your Redmine directory for adding your favorite gems. It will be loaded automatically.

#8 Updated by Aleksandar Pavic over 3 years ago

Thanks I just wanted to propose adding those 2 gems to raise awareness for new developers.

Anyway they don't bring something special, just a bit more informal view.

Also available in: Atom PDF