Ruby and erlang changes for dea