1
0
Fork 0

Use Pry as a Rails console

This commit is contained in:
Alex Kotov 2018-11-23 00:50:24 +05:00
parent 5e5051d511
commit 1e9581c275
No known key found for this signature in database
GPG key ID: 4E831250F47DE154
2 changed files with 10 additions and 0 deletions

View file

@ -30,6 +30,9 @@ gem 'turbolinks', '~> 5'
# Reduces boot times through caching; required in config/boot.rb. # Reduces boot times through caching; required in config/boot.rb.
gem 'bootsnap', '>= 1.1.0', require: false gem 'bootsnap', '>= 1.1.0', require: false
# Use Pry as your Rails console.
gem 'pry-rails', '~> 0.3'
group :development, :test do group :development, :test do
# Call 'byebug' anywhere in the code to stop execution # Call 'byebug' anywhere in the code to stop execution
# and get a debugger console. # and get a debugger console.

View file

@ -48,6 +48,7 @@ GEM
msgpack (~> 1.0) msgpack (~> 1.0)
builder (3.2.3) builder (3.2.3)
byebug (10.0.2) byebug (10.0.2)
coderay (1.1.2)
concurrent-ruby (1.1.3) concurrent-ruby (1.1.3)
crass (1.0.4) crass (1.0.4)
erubi (1.7.1) erubi (1.7.1)
@ -78,6 +79,11 @@ GEM
nokogiri (1.8.5) nokogiri (1.8.5)
mini_portile2 (~> 2.3.0) mini_portile2 (~> 2.3.0)
pg (1.1.3) pg (1.1.3)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
pry-rails (0.3.7)
pry (>= 0.10.4)
puma (3.12.0) puma (3.12.0)
rack (2.0.6) rack (2.0.6)
rack-test (1.1.0) rack-test (1.1.0)
@ -161,6 +167,7 @@ DEPENDENCIES
byebug byebug
listen (>= 3.0.5, < 3.2) listen (>= 3.0.5, < 3.2)
pg (>= 0.18, < 2.0) pg (>= 0.18, < 2.0)
pry-rails (~> 0.3)
puma (~> 3.11) puma (~> 3.11)
rails (~> 5.2.1) rails (~> 5.2.1)
sass-rails (~> 5.0) sass-rails (~> 5.0)