Does the problem occur when it's still constantly holding down?
I think you typed it wrong.
After you typed in bind "mouse1" "_inven gems ruby 1; +attack"
And want to get rid of it, type unbind mouse1
then type bind mouse1 "+attack"
and if that doesn't work type -attack and retype +attack
BBCode