Project

General

Profile

Actions

Feature #24950

closed

Add better_errors gem (Better error messages)

Added by Aleksandar Pavic about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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


Files

devgems.diff (781 Bytes) devgems.diff Patch to enable better errors gem Aleksandar Pavic, 2017-01-29 00:08
before_better_errors.png (30.1 KB) before_better_errors.png Aleksandar Pavic, 2017-01-30 14:24
after_better_errors.png (129 KB) after_better_errors.png Aleksandar Pavic, 2017-01-30 14:24
Actions #1

Updated by Toshi MARUYAMA about 7 years ago

Does it support Windows?

Actions #2

Updated by Aleksandar Pavic about 7 years ago

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

Actions #3

Updated by Toshi MARUYAMA about 7 years ago

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

Actions #4

Updated by Aleksandar Pavic about 7 years ago

Then you suggest maybe turning this into plugin?

Actions #5

Updated by Toshi MARUYAMA about 7 years ago

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

Updated by Toshi MARUYAMA about 7 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

Actions #7

Updated by Jean-Philippe Lang about 7 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.

Actions #8

Updated by Aleksandar Pavic about 7 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.

Actions

Also available in: Atom PDF