RUBY-15995: command line launcher should exit immediately on Mac
reviewed by Aleksey Pivovarov
(cherry picked from commit df04a2d)
RUBY-15995: reverting e277799073e3d491c761ff7e8754bab85268a947 to create correct mac launcher
reviewed by Aleksey Pivovarov
(cherry picked from commit a68ba7c)