move Ruby bootstrapping to bootstrap.rb
This commit is contained in:
parent
7c5a2ebe3a
commit
b7b587fb8f
9
share/svi/bootstrap.rb
Normal file
9
share/svi/bootstrap.rb
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
begin
|
||||||
|
load File.join(File.dirname(__FILE__), "svi.rb")
|
||||||
|
rescue Interrupt => e
|
||||||
|
rescue Exception => e
|
||||||
|
$stderr.puts "#{e.class}: #{e}"
|
||||||
|
e.backtrace.each do |entry|
|
||||||
|
$stderr.puts "> #{entry}"
|
||||||
|
end
|
||||||
|
end
|
@ -1,8 +1,2 @@
|
|||||||
begin
|
module Svi
|
||||||
rescue Interrupt => e
|
|
||||||
rescue Exception => e
|
|
||||||
$stderr.puts "#{e.class}: #{e}"
|
|
||||||
e.backtrace.each do |entry|
|
|
||||||
$stderr.puts "> #{entry}"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user