How do you get dig on Pokemon ruby?

Near Fallabor town, you go to the left and go into a house. inside there should be a hole in the wall, which u go inside it. go to the end of the tunnel and a man will be there. he will give you TM Dig.