Rails4 support patch

through rspec guide, fix globalize gem usage issue.