#!/usr/bin/env ruby
ENV['GEM_HOME']=ENV['GEM_HOME'] || '/usr/local/rvm/gems/ruby-2.0.0-p195'
ENV['GEM_PATH']=ENV['GEM_PATH'] || '/usr/local/rvm/gems/ruby-2.0.0-p195:/usr/local/rvm/gems/ruby-2.0.0-p195@global'
ENV['PATH']='/usr/local/rvm/gems/ruby-2.0.0-p195/bin:/usr/local/rvm/gems/ruby-2.0.0-p195@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p195/bin:' + ENV['PATH']


begin
  gem 'rdoc'
rescue NameError => e # --disable-gems
  raise unless e.name == :gem
rescue Gem::LoadError
end

require 'rdoc/ri/driver'

RDoc::RI::Driver.run ARGV
