Re-add "extra check" that was removed from previous commit.
In some ruby project (like ruby on jets project), Rails may exist, Rails may respond_to root, but root may be nil.
Actually I don't see the point of removing that "extra check" and I think it is best to keep it...
Re-add "extra check" that was removed from previous commit. In some ruby project (like ruby on jets project), Rails may exist, Rails may respond_to root, but root may be nil. Actually I don't see the point of removing that "extra check" and I think it is best to keep it...