Forks

Revisions

gist: 212431 Download_button fork
public
Public Clone URL: git://gist.github.com/212431.git
Embed All Files: show embed
init.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  def IRB.run_config
    if @CONF[:RC]
      begin
load rc_file
      rescue LoadError, Errno::ENOENT
      rescue
print "load error: #{rc_file}\n"
print $!.class, ": ", $!, "\n"
for err in $@[0, $@.size - 2]
print "\t", err, "\n"
end
      end
    end
  end