rails new --edge should generate a edge version in the 4.0 family
Merge pull request #12970 from prathamesh-sonpatki/issue12885

Add positional information to eval call so that this information will be used in printing correct location where the exception occurred.

Closes #12885.
Merge remote-tracking branch 'rails/4-0-stable' into 4-0-stable