#! /usr/bin/ruby
=begin
  rgettext - ruby version of xgettext

  Copyright (C) 2005  Masao Mutoh
  
  You may redistribute it and/or modify it under the same
  license terms as Ruby.
=end

begin
  require 'gettext/rgettext'
rescue LoadError
  begin
    require 'rubygems'
    require_gem 'gettext/rgettext'
  rescue LoadError
    raise 'Ruby-GetText-Package are not installed.'
  end
end

GetText.rgettext
