diff options
Diffstat (limited to 'lib/rbot/ircbot.rb')
-rw-r--r-- | lib/rbot/ircbot.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 6279cfe2..35fc2dfd 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -135,6 +135,12 @@ $interrupted = 0 # these first require 'rbot/rbotconfig' +begin + require 'rubygems' +rescue LoadError + log "rubygems unavailable" +end + require 'rbot/load-gettext' require 'rbot/config' require 'rbot/config-compat' |