summaryrefslogtreecommitdiff
blob: 20c50f96c0d220fe63e335cdb6d6f089fc30aec2 (plain)
1
2
3
4
5
6
7
8
# Autoload rubygems as with regular Ruby.
begin
require 'rubygems'
rescue LoadError
end

# Append regular site_ruby to $LOAD_PATH. Unfortunately the -I option prepends instead.
$LOAD_PATH.insert(-2, '/usr/lib/ruby/site_ruby/1.8', '/usr/lib/ruby/site_ruby')