Fixed the bug at ruby script "17: warning: found = in conditional, should be =="
bug fixes with coupling between shell script and ruby script