use pry-byebug gem instead for pry (recommended for ruby 2.x)

This commit is contained in:
yqbk
2016-05-30 15:47:06 +02:00
parent 2850e562cc
commit 060f9687f1
5 changed files with 11 additions and 6 deletions

4
.rspec
View File

@ -1,6 +1,2 @@
--color
--format NyanCatWideFormatter
--require spec_helper
--order random
--format documentation

View File

@ -18,7 +18,7 @@ gem 'ims-lti'
gem 'kramdown'
gem 'newrelic_rpm'
gem 'pg', platform: :ruby
gem 'pry'
gem 'pry-byebug'
gem 'puma', '~> 2.15.3'
gem 'pundit'
gem 'rails', '~> 4.1.13'

View File

@ -190,6 +190,9 @@ GEM
method_source (~> 0.8.1)
slop (~> 3.4)
spoon (~> 0.0)
pry-byebug (3.3.0)
byebug (~> 8.0)
pry (~> 0.10)
puma (2.15.3)
puma (2.15.3-java)
pundit (1.1.0)
@ -324,6 +327,7 @@ GEM
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf (0.1.4-java)
unf_ext (0.0.7.1)
unicode-display_width (0.3.1)
web-console (2.3.0)
@ -380,7 +384,7 @@ DEPENDENCIES
nokogiri
nyan-cat-formatter
pg
pry
pry-byebug
puma (~> 2.15.3)
pundit
rails (~> 4.1.13)
@ -406,3 +410,6 @@ DEPENDENCIES
uglifier (>= 1.3.0)
web-console (~> 2.0)
will_paginate (~> 3.0)
BUNDLED WITH
1.12.4

View File

@ -191,6 +191,7 @@ class DockerClient
container.port_bindings.values.each { |port| PortPool.release(port) }
clean_container_workspace(container)
if(container)
binding.pry
container.delete(force: true, v: true)
end
rescue Docker::Error::NotFoundError => error

View File

@ -15,6 +15,7 @@
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
unless RUBY_PLATFORM == 'java'
if ENV['CODECLIMATE_REPO_TOKEN']
require 'codeclimate-test-reporter'