Skip to content

Commit 924487e

Browse files
Jaymes Waters and Matt Gaugermathias
authored andcommitted
Add pry for massive win.
1 parent 807da99 commit 924487e

3 files changed

Lines changed: 23 additions & 0 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ group :development, :test do
4141
gem 'rspec-rails'
4242
gem 'cucumber-rails'
4343
gem "faker"
44+
gem 'pry'
4445
end
4546

4647
group :test do

Gemfile.lock

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ GEM
5959
xpath (~> 0.1.4)
6060
childprocess (0.2.2)
6161
ffi (~> 1.0.6)
62+
coderay (1.0.0)
6263
coffee-rails (3.1.0.rc.6)
6364
coffee-script (>= 2.2.0)
6465
railties (~> 3.1.0.rc1)
@@ -115,6 +116,8 @@ GEM
115116
i18n (>= 0.4.0)
116117
mime-types (~> 1.16)
117118
treetop (~> 1.4.8)
119+
method_source (0.6.5)
120+
ruby_parser (>= 2.0.5)
118121
mime-types (1.16)
119122
mm-devise (1.3)
120123
devise (>= 1.2)
@@ -132,6 +135,11 @@ GEM
132135
plucky (0.3.8)
133136
mongo (~> 1.3)
134137
polyglot (0.3.2)
138+
pry (0.9.6)
139+
coderay (>= 0.9.8)
140+
method_source (>= 0.6.5)
141+
ruby_parser (>= 2.0.5)
142+
slop (~> 2.1.0)
135143
rack (1.3.2)
136144
rack-cache (1.0.2)
137145
rack (>= 0.4)
@@ -174,6 +182,8 @@ GEM
174182
activesupport (~> 3.0)
175183
railties (~> 3.0)
176184
rspec (~> 2.6.0)
185+
ruby_parser (2.3.1)
186+
sexp_processor (~> 3.0)
177187
rubyzip (0.9.4)
178188
sass (3.1.7)
179189
sass-rails (3.1.0.rc.6)
@@ -185,6 +195,8 @@ GEM
185195
ffi (>= 1.0.7)
186196
json_pure
187197
rubyzip
198+
sexp_processor (3.0.7)
199+
slop (2.1.0)
188200
sprockets (2.0.0.beta.15)
189201
hike (~> 1.2)
190202
rack (~> 1.0)
@@ -230,6 +242,7 @@ DEPENDENCIES
230242
mm-devise (>= 1.2)
231243
mocha
232244
mongo_mapper
245+
pry
233246
rails (= 3.1.0.rc6)
234247
rdiscount
235248
rspec-rails

config/initializers/pry.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if Rails.env.development?
2+
silence_warnings do
3+
begin
4+
require 'pry'
5+
IRB = Pry
6+
rescue LoadError
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)