Skip to content

Commit ba87c69

Browse files
committed
Add binding_of_caller to allow terminal in better errors
1 parent 5cfef3d commit ba87c69

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ end
3636

3737
group :development do
3838
gem 'better_errors'
39+
gem 'binding_of_caller'
3940
gem 'web-console', '>= 3.3.0'
4041
gem 'listen', '~> 3.0.5'
4142
gem 'spring'

Gemfile.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ GEM
4747
erubis (>= 2.6.6)
4848
rack (>= 0.9.0)
4949
bindex (0.5.0)
50+
binding_of_caller (0.7.2)
51+
debug_inspector (>= 0.0.1)
5052
builder (3.2.3)
5153
byebug (9.0.6)
5254
capybara (2.13.0)
@@ -68,6 +70,7 @@ GEM
6870
coffee-script-source (1.12.2)
6971
concurrent-ruby (1.0.5)
7072
database_cleaner (1.5.3)
73+
debug_inspector (0.0.3)
7174
diff-lcs (1.3)
7275
docile (1.1.5)
7376
erubis (2.7.0)
@@ -231,6 +234,7 @@ PLATFORMS
231234
DEPENDENCIES
232235
bcrypt (~> 3.1.7)
233236
better_errors
237+
binding_of_caller
234238
byebug
235239
capybara
236240
coffee-rails (~> 4.2)

0 commit comments

Comments
 (0)