add simple ruby file and its tests for bamboo to test
fix dir copy bug