You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
900 B

  1. --- ruby-2.1.2.orig/lib/rdoc.rb 2014-09-02 17:14:28.719224215 -0300
  2. +++ ruby-2.1.2/lib/rdoc.rb 2014-09-02 17:14:28.762223911 -0300
  3. @@ -109,6 +109,8 @@
  4. def self.load_yaml
  5. begin
  6. gem 'psych'
  7. + rescue NameError => e # --disable-gems
  8. + raise unless e.name == :gem
  9. rescue Gem::LoadError
  10. end
  11. --- ruby-2.1.2.orig/lib/rdoc/markdown.rb 2014-09-02 17:14:28.761223918 -0300
  12. +++ ruby-2.1.2/lib/rdoc/markdown.rb 2014-09-02 17:14:28.805223607 -0300
  13. @@ -525,7 +525,6 @@
  14. - require 'rubygems'
  15. require 'rdoc'
  16. require 'rdoc/markup/to_joined_paragraph'
  17. require 'rdoc/markdown/entities'
  18. --- ruby-2.1.2.orig/lib/rdoc/text.rb 2014-09-02 17:14:28.721224201 -0300
  19. +++ ruby-2.1.2/lib/rdoc/text.rb 2014-09-02 17:14:28.764223897 -0300
  20. @@ -10,6 +10,8 @@
  21. begin
  22. gem 'json'
  23. +rescue NameError => e # --disable-gems
  24. + raise unless e.name == :gem
  25. rescue Gem::LoadError
  26. end