detect project and rails root
Merge pull request #46 from senny/gemfile_traversal

detect project and rails root