Fix error with Spring on Rails 4.1