RubyMate now sets -bash and for the running script. This fixes the common if __FILE__ == -bash .. end idiom. Changed: U trunk/Bundles/Ruby.tmbundle/Support/tmruby.rb