In how many ways a jeweler can arrange a continuous bracelet consist of 10 distinct gemstones in such a way that the ruby, sapphire, and emerald should be next to each other?