Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Work when Bundler is not defined [Fixes #3]

  • Loading branch information...
commit 39c4b3f44617b3c1d337387e35d91c56709ae3a0 1 parent 81e697c
Conrad Irwin authored

Showing 2 changed files with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 0  lib/pry-debundle.rb
  2. +1 1  pry-debundle.gemspec
1  lib/pry-debundle.rb
@@ -36,6 +36,7 @@ class << Pry
36 36 # See https://github.com/carlhuda/bundler/issues/183 for some background.
37 37 #
38 38 def debundle!
  39 + return unless defined?(Bundler)
39 40 loaded = false
40 41
41 42 if rubygems_18?
2  pry-debundle.gemspec
... ... @@ -1,6 +1,6 @@
1 1 Gem::Specification.new do |s|
2 2 s.name = "pry-debundle"
3   - s.version = "0.5"
  3 + s.version = "0.6"
4 4 s.platform = Gem::Platform::RUBY
5 5 s.author = "Conrad Irwin"
6 6 s.email = "conrad.irwin@gmail.com"

0 comments on commit 39c4b3f

Please sign in to comment.
Something went wrong with that request. Please try again.