Add pry for debugging in development and test environments

This commit is contained in:
Erik Michaels-Ober 2013-12-02 12:37:47 +01:00
parent 9fcd1cb5f8
commit c02aebccce
2 changed files with 38 additions and 0 deletions

View File

@ -24,6 +24,13 @@ group :assets do
gem 'uglifier' gem 'uglifier'
end end
group :development, :test do
gem 'pry'
gem 'pry-debugger', :platforms => :mri_19
gem 'pry-rescue'
gem 'pry-stack_explorer', :platforms => :mri_19
end
group :production do group :production do
gem 'puma' gem 'puma'
end end

View File

@ -31,9 +31,12 @@ GEM
addressable (2.3.5) addressable (2.3.5)
arel (3.0.3) arel (3.0.3)
bcrypt-ruby (3.1.2) bcrypt-ruby (3.1.2)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (2.3.2.2) bootstrap-sass (2.3.2.2)
sass (~> 3.2) sass (~> 3.2)
builder (3.0.4) builder (3.0.4)
coderay (1.1.0)
coffee-rails (3.2.2) coffee-rails (3.2.2)
coffee-script (>= 2.2.0) coffee-script (>= 2.2.0)
railties (~> 3.2.0) railties (~> 3.2.0)
@ -41,6 +44,7 @@ GEM
coffee-script-source coffee-script-source
execjs execjs
coffee-script-source (1.6.3) coffee-script-source (1.6.3)
columnize (0.3.6)
coveralls (0.7.0) coveralls (0.7.0)
multi_json (~> 1.3) multi_json (~> 1.3)
rest-client rest-client
@ -49,6 +53,13 @@ GEM
thor thor
crack (0.4.1) crack (0.4.1)
safe_yaml (~> 0.9.0) safe_yaml (~> 0.9.0)
debug_inspector (0.0.2)
debugger (1.6.3)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.2.4)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.4)
devise (2.2.8) devise (2.2.8)
bcrypt-ruby (~> 3.0) bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
@ -67,6 +78,7 @@ GEM
hike (1.2.3) hike (1.2.3)
http_accept_language (2.0.0) http_accept_language (2.0.0)
i18n (0.6.5) i18n (0.6.5)
interception (0.3)
journey (1.0.4) journey (1.0.4)
jquery-rails (3.0.4) jquery-rails (3.0.4)
railties (>= 3.0, < 5.0) railties (>= 3.0, < 5.0)
@ -81,6 +93,7 @@ GEM
mail (2.5.4) mail (2.5.4)
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
method_source (0.8.2)
mime-types (1.25.1) mime-types (1.25.1)
mini_portile (0.5.2) mini_portile (0.5.2)
multi_json (1.8.2) multi_json (1.8.2)
@ -90,6 +103,19 @@ GEM
orm_adapter (0.5.0) orm_adapter (0.5.0)
pg (0.17.0) pg (0.17.0)
polyglot (0.3.3) polyglot (0.3.3)
pry (0.9.12.4)
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
pry-debugger (0.2.2)
debugger (~> 1.3)
pry (~> 0.9.10)
pry-rescue (1.2.0)
interception (>= 0.3)
pry
pry-stack_explorer (0.4.9.1)
binding_of_caller (>= 0.7)
pry (>= 0.9.11)
puma (2.6.0) puma (2.6.0)
rack (>= 1.1, < 2.0) rack (>= 1.1, < 2.0)
rack (1.4.5) rack (1.4.5)
@ -154,6 +180,7 @@ GEM
multi_json multi_json
simplecov-html (~> 0.8.0) simplecov-html (~> 0.8.0)
simplecov-html (0.8.0) simplecov-html (0.8.0)
slop (3.4.7)
sprockets (2.2.2) sprockets (2.2.2)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
@ -197,6 +224,10 @@ DEPENDENCIES
http_accept_language http_accept_language
nokogiri nokogiri
pg pg
pry
pry-debugger
pry-rescue
pry-stack_explorer
puma puma
rails (~> 3.2) rails (~> 3.2)
rails_12factor rails_12factor