ensure folders are uniq
fix #ordered_railties for rails 4.1.6