aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2007-11-13 10:17:13 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2007-11-13 10:17:13 +0000
commite403e004e93ea5d145abb641a2b4760c51eebd64 (patch)
treeb47c4d5116ded2eca346a9fb7ba9a4d241005977
parent5bd7ffdf00149e7518e2a25af9145e0f17f0f82d (diff)
downloadpaludis-e403e004e93ea5d145abb641a2b4760c51eebd64.tar.gz
paludis-e403e004e93ea5d145abb641a2b4760c51eebd64.tar.xz
(ruby) Don't assume rubygems has been autoloaded. Fix distcheck.
-rw-r--r--doc/api/ruby/create_ruby_examples.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/ruby/create_ruby_examples.rb b/doc/api/ruby/create_ruby_examples.rb
index 87e48c1..0e2f8fb 100644
--- a/doc/api/ruby/create_ruby_examples.rb
+++ b/doc/api/ruby/create_ruby_examples.rb
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
# vim: set sw=4 sts=4 et tw=80 :
+require 'rubygems'
require 'syntax/convertors/html'
convertor = Syntax::Convertors::HTML.for_syntax('ruby')