Added some runtime checks for git and rails