Permalink
Browse files

No hirb anymore

  • Loading branch information...
1 parent aef68dd commit a5e93f34ce6a172216d8a0e34b26df7be8b14116 @lucapette committed Feb 19, 2013
Showing with 0 additions and 20 deletions.
  1. +0 −20 pryrc
View
20 pryrc
@@ -1,13 +1,3 @@
-def require_without_bundler gem
- _gem_path = Dir.glob("#{Gem.path.grep(/global$/).first}/gems/#{gem}*/lib").first
- if _gem_path
- $LOAD_PATH << _gem_path
- require gem
- else
- puts "Please put #{gem} in your global"
- end
-end
-
# vim FTW
Pry.config.editor = 'vim'
@@ -37,14 +27,4 @@ if defined?(Rails) && Rails.env
DataMapper::Logger.new($stdout, :debug)
end
- require_without_bundler 'hirb'
-
- if defined?(Hirb)
- # https://github.com/cldwalker/hirb/issues/46#issuecomment-1870823
- Pry.config.print = proc do |output, value|
- Hirb::View.view_or_page_output(value) || Pry::DEFAULT_PRINT.call(output, value)
- end
-
- Hirb.enable
- end
end

0 comments on commit a5e93f3

Please sign in to comment.