5 print "Usage: install.rb <file>\n"
6 print "% ./install.rb src/chise.rb\n"
10 usage if ARGV.length < 1
12 usage if ! FileTest.file?(file)
15 ruby_sitedir = Config::CONFIG["sitedir"]
16 cmd = "cp #{file} #{ruby_sitedir}"
20 #----------------------------------------------------------------------end.