From: Johan Holmberg Date: 2003-04-18T00:25:35+09:00 Subject: Cryptic -w warning: ambiguous first argument; make sure ... Hi ! I wrote something like str = "banana" str.gsub! /a/, "*" puts str When running this this with the -w option I get the following warning: ex1.rb:4: warning: ambiguous first argument; make sure My first question when seeing this was: make sure what ??? I thought that maybe the output on my terminal was garbled in some way, but after looking at the source code it seems that the message is exactly as quoted above. The warning disappears if I put parenteses around the parameters to the gsub! method. But I still wonder what the warning is trying to say. Does anybody know ? /Johan Holmberg