Skip to content

Commit

Permalink
Do not require Pry twice
Browse files Browse the repository at this point in the history
  • Loading branch information
alsemyonov committed Jul 5, 2016
1 parent fe208df commit 26ac2c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ source 'https://rubygems.org'
gemspec

group :development do
gem 'pry'
if RUBY_VERSION >= '2'
gem 'pry-byebug'
gem 'byebug'
Expand Down
6 changes: 5 additions & 1 deletion bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
require 'bundler/setup'
require 'xommelier'
require 'pry'
require 'pry-byebug'
begin
require 'pry-byebug'
rescue LoadError
STDERR.puts 'Byebug is enabled only in Ruby 2'
end
require 'pp'

SPEC_ROOT = File.expand_path('..', __FILE__)
Expand Down

0 comments on commit 26ac2c2

Please sign in to comment.