bin/loris in loris-0.1.1 vs bin/loris in loris-0.1.2
- old
+ new
@@ -1,15 +1,15 @@
-#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
-$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')
-
-require 'loris'
-begin
- # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
- failure = Loris::CLI::Main.execute(ARGV.dup)
- Kernel.exit(failure ? 1 : 0)
-rescue SystemExit => e
- Kernel.exit(e.status)
-rescue Exception => e
- STDERR.puts("#{e.message} (#{e.class})")
- STDERR.puts(e.backtrace.join("\n"))
- Kernel.exit 1
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
+$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')
+
+require 'loris'
+begin
+ # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
+ failure = Loris::CLI::Main.execute(ARGV.dup)
+ Kernel.exit(failure ? 1 : 0)
+rescue SystemExit => e
+ Kernel.exit(e.status)
+rescue Exception => e
+ STDERR.puts("#{e.message} (#{e.class})")
+ STDERR.puts(e.backtrace.join("\n"))
+ Kernel.exit 1
end
\ No newline at end of file