Added Compatibility for Rails 4.14 and Ruby 2.0.0(New OS: OS X 10.10)