Fix "$0 not initialized" on ruby-2.x
setting new value to $0 is allowed when the script running on ruby(1).
Authored by: kimuraw 2014-06-30
Parent: [r2580]
Child: [r2582]