Temp fix for syntax error on new version of Devise

The new version of Devise break the build, I force PDS to use the
previous version of Devise. This is a temporally fix. In long
term, we need to upgrade the version of ruby.
https://github.com/plataformatec/devise/issues/2722