Permalink
Browse files

Work when Bundler is not defined [Fixes #3]

  • Loading branch information...
1 parent 81e697c commit 39c4b3f44617b3c1d337387e35d91c56709ae3a0 @ConradIrwin committed Sep 28, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/pry-debundle.rb
  2. +1 −1 pry-debundle.gemspec
View
@@ -36,6 +36,7 @@ class << Pry
# See https://github.com/carlhuda/bundler/issues/183 for some background.
#
def debundle!
+ return unless defined?(Bundler)
loaded = false
if rubygems_18?
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "pry-debundle"
- s.version = "0.5"
+ s.version = "0.6"
s.platform = Gem::Platform::RUBY
s.author = "Conrad Irwin"
s.email = "conrad.irwin@gmail.com"

0 comments on commit 39c4b3f

Please sign in to comment.