Permalink
Browse files

remote pry from dependencies. please install pry manually.

  • Loading branch information...
1 parent 4dfb1ab commit f29ccb5b809e2190ec15e339b89ff02d619ba428 @jugyo committed Sep 6, 2011
Showing with 7 additions and 5 deletions.
  1. +0 −2 Rakefile
  2. +0 −1 lib/ir_b.rb
  3. +7 −2 lib/ir_b/pry.rb
View
@@ -10,8 +10,6 @@ begin
gem.email = "jugyo.org@gmail.com"
gem.homepage = "http://github.com/jugyo/ir_b"
gem.authors = ["jugyo"]
- gem.add_dependency "pry"
- gem.add_dependency "pry-doc"
gem.add_development_dependency "shoulda", ">= 0"
gem.add_development_dependency "rr", ">= 0"
end
View
@@ -30,7 +30,6 @@ class << self
def -(_binding)
if pry
- require 'pry'
_binding.pry
else
file = _binding.eval '__FILE__'
View
@@ -1,2 +1,7 @@
-require 'ir_b'
-IrB.pry = true
+begin
+ require 'ir_b'
+ require 'pry'
+ IrB.pry = true
+rescue LoadError => e
+ warn "LoadError: please install pry => `gem install pry`"
+end

0 comments on commit f29ccb5

Please sign in to comment.