Fix rails and sunspot dependency