Fixing Rails and ruby-oai dependencies.